From 13bdf0c79fd1fc802f06dc045ce4e042c1cd0786 Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Thu, 29 May 2025 21:13:50 +0200 Subject: [PATCH] Update REMOTE_ENV_PATH and rules in GitLab CI config --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f18eab..646ed8d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ deploy_dev: extends: .deploy-template variables: TAG: dev - REMOTE_ENV_PATH: /rheinsw/dev + REMOTE_ENV_PATH: /rheinsw rules: - if: '$CI_COMMIT_BRANCH == "dev" || $CI_COMMIT_BRANCH == "pipeline"' @@ -51,6 +51,5 @@ deploy_prod: extends: .deploy-template variables: TAG: production - REMOTE_ENV_PATH: /rheinsw/prod - rules: - - if: '$CI_COMMIT_BRANCH == "production"' \ No newline at end of file + REMOTE_ENV_PATH: /rheinsw + rules: *deploy_production_rule \ No newline at end of file