Browse Source

Fix deploy script

remotes/origin/noc
Tomas Gavenciak 9 years ago
parent
commit
1551224f08
  1. 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…
Cancel
Save