mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Update .gitlab-ci.yml
This commit is contained in:
@@ -13,8 +13,7 @@ before_script:
|
|||||||
- mv composer.phar /usr/local/bin/composer
|
- mv composer.phar /usr/local/bin/composer
|
||||||
|
|
||||||
deploy_stage:
|
deploy_stage:
|
||||||
stage: deploy
|
stage: build
|
||||||
environment: Staging
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
script:
|
script:
|
||||||
@@ -23,7 +22,19 @@ deploy_stage:
|
|||||||
- chmod -R 777 storage
|
- chmod -R 777 storage
|
||||||
- chmod -R 777 bootstrap
|
- chmod -R 777 bootstrap
|
||||||
- composer update
|
- 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/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"
|
- 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"
|
- sshpass -e ssh -t admin@54.39.97.124 "cd /var/www/website/C736 && php artisan migrate"
|
||||||
Reference in New Issue
Block a user