mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
Mise a jour CI/CD
This commit is contained in:
@@ -21,7 +21,7 @@ unit_test:
|
||||
- composer install
|
||||
- php artisan key:generate
|
||||
|
||||
deploy_production:
|
||||
deploy_697:
|
||||
stage: deploy_697
|
||||
script:
|
||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
|
||||
@@ -37,7 +37,7 @@ deploy_production:
|
||||
only:
|
||||
- master
|
||||
|
||||
deploy_production:
|
||||
deploy_736:
|
||||
stage: deploy_736
|
||||
script:
|
||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
|
||||
|
||||
@@ -52,6 +52,9 @@
|
||||
|
||||
echo 'Setting permission'
|
||||
chmod -R 777 {{ $app_dir_697 }}/current/bootstrap/
|
||||
|
||||
echo 'Migrate DB'
|
||||
{{ $app_dir_697 }}/current/php artisan migrate
|
||||
@endtask
|
||||
|
||||
@task('clone_repository_736')
|
||||
@@ -81,4 +84,7 @@
|
||||
|
||||
echo 'Setting permission'
|
||||
chmod -R 777 {{ $app_dir_736 }}/current/bootstrap/
|
||||
|
||||
echo 'Migrate DB'
|
||||
{{ $app_dir_736 }}/current/php artisan migrate
|
||||
@endtask
|
||||
Reference in New Issue
Block a user