added git deployement

This commit is contained in:
2019-04-20 18:01:14 +02:00
parent 12bb6e7fa7
commit a7f2ad538c
5 changed files with 193 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
echo "updating"
echo "Switching to project docroot."
cd ./app
echo ""
echo "Pulling down latest code."
git pull --ff-only origin prod
echo ""
echo "Deployment complete."