Verified Commit 085787a5 authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Updated GitLab CI script

parent 5def8741
......@@ -42,8 +42,8 @@ deploy:
- npm rebuild node-sass
- npm run build
- rsync -aze ssh --exclude=.git --exclude=.env.local --exclude=var --exclude=vendor --exclude=node_modules ./ ssh-gigadrivegroup@zeryther.lima-ssh.de:~/html/qpost/
- rsync -aze ssh --exclude=.git --exclude=.env.local --exclude=var --exclude=vendor --exclude=node_modules ./ root@node1.qpo.st:/home/web/qpost/
- rsync -aze ssh --exclude=.git --exclude=.env.local --exclude=var --exclude=vendor --exclude=node_modules ./ root@144.91.112.174:/home/web/qpost/
- ssh -t ssh-gigadrivegroup@zeryther.lima-ssh.de 'cd ~/html/qpost/ && /opt/lima-php/7.2/bin/php ~/phpbin/composer.phar install --no-dev && /opt/lima-php/7.2/bin/php ~/phpbin/composer.phar dump-autoload -o && /opt/lima-php/7.2/bin/php bin/console doctrine:migrations:migrate --no-interaction'
- ssh -t root@144.91.112.174 'cd /home/web/qpost/ && 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'
- ssh -t root@144.91.112.174 'cd /home/web/qpost/ && 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'
only:
- master
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