diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index 10750e3256440e0fb6fa01b4ec690dd775f20ff7..ca0543640aa0110f23caa03842d59720ca2dc09b 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -11,6 +11,7 @@ variables:
   STAGE_DEPLOY_USER: wlgmnfabmq
   STAGE_DEPLOY_DIR: ""
   RUN_AFTER_DEPLOY: "pwd"
+  DEPLOY_AFTER_SCRIPT: ""
   PREDATORS_GROUP_ID: 788
 
 stages:
@@ -55,6 +56,8 @@ 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
   <<: *deploy-template