diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d77ac8e..75fda22c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,8 +13,7 @@ before_script: - mv composer.phar /usr/local/bin/composer deploy_stage: - stage: deploy - environment: Staging + stage: build only: - master script: @@ -23,7 +22,19 @@ deploy_stage: - chmod -R 777 storage - chmod -R 777 bootstrap - composer update + +deploy_697: + stage: deploy + environment: + name: 697 + script: - sshpass -e scp -o stricthostkeychecking=no -r . admin@54.39.97.124:/var/www/website/C697 - - sshpass -e scp -o stricthostkeychecking=no -r . admin@54.39.97.124:/var/www/website/C736 - sshpass -e ssh -t admin@54.39.97.124 "cd /var/www/website/C697 && php artisan migrate" + +deploy_736: + stage: deploy + environment: + name: 736 + script: + - sshpass -e scp -o stricthostkeychecking=no -r . admin@54.39.97.124:/var/www/website/C736 - sshpass -e ssh -t admin@54.39.97.124 "cd /var/www/website/C736 && php artisan migrate" \ No newline at end of file