Update .gitlab-ci.yml

This commit is contained in:
Mathieu Lagace
2018-09-24 14:13:01 +00:00
parent e3aa153cf8
commit 1d13c8c8a9

View File

@@ -10,6 +10,7 @@ deploy_stage:
- sshpass -V
- export SSHPASS=$USER_PASS
- sshpass -e scp -o stricthostkeychecking=no -r . admin@54.39.97.124:/var/www/website/C697
- ssh admin@54.39.97.124
- cd /var/www/website/C697
- sudo chmod -R 777 storage
- sudo chmod -R 777 bootstrap
@@ -25,6 +26,7 @@ deploy_production:
- sshpass -V
- export SSHPASS=$USER_PASS
- sshpass -e scp -o stricthostkeychecking=no -r . admin@54.39.97.124:/var/www/website/C697
- ssh admin@54.39.97.124
- cd /var/www/website/C697
- sudo chmod -R 777 storage
- sudo chmod -R 777 bootstrap