Loading .gitlab-ci.yml +12 −2 Original line number Diff line number Diff line Loading @@ -10,6 +10,12 @@ publish: stage: publish tags: - red rules: - changes: - "**/*.md" when: manual - if: $CI_COMMIT_BRANCH == "main" interruptible: true before_script: - echo $PAT | docker login $REGISTRY -u $GITLAB_USER_LOGIN --password-stdin script: Loading @@ -20,8 +26,12 @@ deploy: stage: deploy tags: - red only: - main rules: - changes: - "**/*.md" when: manual - if: $CI_COMMIT_BRANCH == "main" interruptible: true script: - cd $WORK_DIR - docker compose pull Loading Loading
.gitlab-ci.yml +12 −2 Original line number Diff line number Diff line Loading @@ -10,6 +10,12 @@ publish: stage: publish tags: - red rules: - changes: - "**/*.md" when: manual - if: $CI_COMMIT_BRANCH == "main" interruptible: true before_script: - echo $PAT | docker login $REGISTRY -u $GITLAB_USER_LOGIN --password-stdin script: Loading @@ -20,8 +26,12 @@ deploy: stage: deploy tags: - red only: - main rules: - changes: - "**/*.md" when: manual - if: $CI_COMMIT_BRANCH == "main" interruptible: true script: - cd $WORK_DIR - docker compose pull Loading