Verified Commit 57c5084b authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Updated GitLab CI script

parent 5abf996c
......@@ -78,6 +78,6 @@ deploy_stage:
- npm rebuild node-sass
- npm run build
- rsync -aze ssh --exclude=.git --exclude=.env.local --exclude=.env.local.php --exclude=var --exclude=vendor --exclude=node_modules ./ root@144.91.112.174:/home/web/qpost-stage/
- ssh -t root@144.91.112.174 'cd /home/web/qpost-stage/ && composer install --no-dev && composer dump-autoload -o && chmod -R 777 ./* && php bin/console doctrine:migrations:migrate --no-interaction && php bin/console messenger:stop-workers && php bin/console qpost:update-changelogs'
- ssh -t root@144.91.112.174 'cd /home/web/qpost-stage/ && composer install && composer dump-autoload -o && chmod -R 777 ./* && php bin/console doctrine:migrations:migrate --no-interaction && php bin/console messenger:stop-workers && php bin/console qpost:update-changelogs'
only:
- stage
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment