Update .gitlab-ci.yml

This commit is contained in:
Mathieu Lagace
2018-09-24 15:05:19 +00:00
parent 5922024c70
commit bcc293a5d4

View File

@@ -10,9 +10,9 @@ deploy_stage:
- 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"