diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 249b5c1e..02ac79ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"