Fix deploy script
This commit is contained in:
parent
af3451ba9a
commit
1551224f08
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -76,7 +76,7 @@ deploy_test:
|
||||||
deploy_prod:
|
deploy_prod:
|
||||||
@if [[ `pwd` != "/akce/MaM/WWW/mamweb-prod" ]]; then echo "Only possible in /akce/MaM/WWW/mamweb-prod"; exit 1; fi
|
@if [[ `pwd` != "/akce/MaM/WWW/mamweb-prod" ]]; then echo "Only possible in /akce/MaM/WWW/mamweb-prod"; exit 1; fi
|
||||||
@echo "Backing up production DB ..."
|
@echo "Backing up production DB ..."
|
||||||
cd .. && ./backup_prod_db.sh
|
( cd .. && ./backup_prod_db.sh )
|
||||||
@echo "Installing version from origin/stable ..."
|
@echo "Installing version from origin/stable ..."
|
||||||
git pull origin stable
|
git pull origin stable
|
||||||
git clean -f
|
git clean -f
|
||||||
|
|
Loading…
Reference in a new issue