Commit 814fe197 authored by Grant's avatar Grant
Browse files

[ci] ignore *.md file changes

parent 44740949
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -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:
@@ -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