Skip to content
Snippets Groups Projects

Feature/add composer config

Closed Sebastian Pisula requested to merge feature/add-composer-config into main
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -11,6 +11,7 @@ variables:
@@ -11,6 +11,7 @@ variables:
STAGE_DEPLOY_USER: wlgmnfabmq
STAGE_DEPLOY_USER: wlgmnfabmq
STAGE_DEPLOY_DIR: ""
STAGE_DEPLOY_DIR: ""
RUN_AFTER_DEPLOY: "pwd"
RUN_AFTER_DEPLOY: "pwd"
 
DEPLOY_AFTER_SCRIPT: ""
stages:
stages:
- build
- build
@@ -53,6 +54,8 @@ stages:
@@ -53,6 +54,8 @@ stages:
- ssh-keyscan -H -p 222 $DEPLOY_HOST >> ~/.ssh/known_hosts
- 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
- 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"
- 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
.template: &deploy-to-stage
<<: *deploy-template
<<: *deploy-template
Loading