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:
@@ -11,14 +11,13 @@ before_script:
|
||||
- curl -sS https://getcomposer.org/installer | php
|
||||
- php composer.phar install
|
||||
- mv composer.phar /usr/local/bin/composer
|
||||
- sshpass -V
|
||||
|
||||
deploy_stage:
|
||||
stage: build
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- sshpass -V
|
||||
- export SSHPASS=$USER_PASS
|
||||
- chmod -R 777 storage
|
||||
- chmod -R 777 bootstrap
|
||||
- composer update
|
||||
@@ -28,6 +27,7 @@ deploy_697:
|
||||
environment:
|
||||
name: C697
|
||||
script:
|
||||
- export SSHPASS=$USER_PASS
|
||||
- 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"
|
||||
|
||||
@@ -36,5 +36,6 @@ deploy_736:
|
||||
environment:
|
||||
name: C736
|
||||
script:
|
||||
- export SSHPASS=$USER_PASS
|
||||
- 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"
|
||||
Reference in New Issue
Block a user