Commit 9758ab76 authored by Alexandre's avatar Alexandre

update: deploy.sh

parent dea5daeb
......@@ -2,11 +2,13 @@
ssh risefor-mobilisation@ssh-risefor-mobilisation.happy-dev.fr << EOF
cd risefor-mobilisation/$1/app # staging || production
git stash
if [ "$1" == "staging" ]; then
git pull origin dev
else
git pull origin master
fi
git stash apply
python manage.py migrate
sass risefor-mobilisation/static/scss/index.scss risefor-mobilisation/static/css/risefor-mobilisation.css
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment