push
This commit is contained in:
parent
0efc3df4f1
commit
60bf0f47fe
3 changed files with 14 additions and 6 deletions
|
|
@ -53,7 +53,7 @@ deploy-pkg: publish
|
|||
|
||||
deploy: pushInPre pushInProd
|
||||
|
||||
pushInPre: cleanoutput bin/output/wwwroot/version
|
||||
pushInPre: cleanoutput bin/output/wwwroot/version ../../yavscd-pre
|
||||
sudo service kestrel-pre stop
|
||||
sudo rm -rf $(DESTDIR)/approot
|
||||
sudo cp -a bin/output/* $(DESTDIR)
|
||||
|
|
@ -61,7 +61,7 @@ pushInPre: cleanoutput bin/output/wwwroot/version
|
|||
sudo sync
|
||||
sudo service kestrel-pre start
|
||||
|
||||
pushInProd: cleanoutput bin/output/wwwroot/version
|
||||
pushInProd: cleanoutput bin/output/wwwroot/version ../../yavscd
|
||||
ifeq ($(git_status),0)
|
||||
sudo service kestrel stop
|
||||
sudo rm -rf $(PRODDESTDIR)/approot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue