|
@ -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 |
|
|