mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 03:19:10 -04:00
Update .gitlab-ci.yml
This commit is contained in:
@@ -20,7 +20,6 @@ deploy_stage:
|
|||||||
script:
|
script:
|
||||||
- sshpass -V
|
- sshpass -V
|
||||||
- export SSHPASS=$USER_PASS
|
- export SSHPASS=$USER_PASS
|
||||||
- ls
|
|
||||||
- chmod -R 777 storage
|
- chmod -R 777 storage
|
||||||
- chmod -R 777 bootstrap
|
- chmod -R 777 bootstrap
|
||||||
- composer update
|
- composer update
|
||||||
@@ -35,9 +34,8 @@ deploy_production:
|
|||||||
script:
|
script:
|
||||||
- sshpass -V
|
- sshpass -V
|
||||||
- export SSHPASS=$USER_PASS
|
- export SSHPASS=$USER_PASS
|
||||||
- ls
|
- chmod -R 777 storage
|
||||||
- sudo chmod -R 777 storage
|
- chmod -R 777 bootstrap
|
||||||
- sudo chmod -R 777 bootstrap
|
- composer update
|
||||||
- sudo composer update
|
|
||||||
- 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 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user