Update .gitlab-ci.yml

This commit is contained in:
Mathieu Lagace
2018-09-24 15:34:43 +00:00
parent 70bb173eb0
commit b44a8b94fb

View File

@@ -20,7 +20,6 @@ deploy_stage:
script:
- sshpass -V
- export SSHPASS=$USER_PASS
- ls
- chmod -R 777 storage
- chmod -R 777 bootstrap
- composer update
@@ -35,9 +34,8 @@ deploy_production:
script:
- sshpass -V
- export SSHPASS=$USER_PASS
- ls
- sudo chmod -R 777 storage
- sudo chmod -R 777 bootstrap
- sudo composer update
- chmod -R 777 storage
- chmod -R 777 bootstrap
- composer update
- sshpass -e scp -o stricthostkeychecking=no -r . admin@54.39.97.124:/var/www/website/C697
- sshpass -e ssh -t admin@54.39.97.124 "cd /var/www/website/C697 && php artisan migrate"