Skip to content
Snippets Groups Projects
Commit 2ecf3218 authored by Sebastian Pisula's avatar Sebastian Pisula
Browse files

feature(core): deploy after script

parent df6a4baf
No related branches found
No related tags found
1 merge request!12Feature/add composer config
Pipeline #280477 skipped
......@@ -54,6 +54,7 @@ stages:
- ssh-keyscan -H -p 222 $DEPLOY_HOST >> ~/.ssh/known_hosts
- rsync -v --delete -rlDe 'ssh -p 222 -v -i ~/.ssh/id_rsa_demo_fs' --exclude-from=.distignore ${CI_PROJECT_DIR}/web/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIR
- ssh -p 222 -i ~/.ssh/id_rsa_demo_fs $DEPLOY_USER@$DEPLOY_HOST "cd $DEPLOY_DIR && mv frontend/dist/assets/ public/ && mv frontend/dist/index.html public/index.html && php81 bin/console doctrine:migrations:migrate --no-interaction && php81 bin/console cache:clear && $RUN_AFTER_DEPLOY"
after_script:
- $DEPLOY_AFTER_SCRIPT
.template: &deploy-to-stage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment