Commit d149d4be authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

ci: Make build-and-publish run only when content is changed (hopefully)

parent 84a51943
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@ lint-and-validate:

build-and-publish:
  rules:
    - changes:
      - src/content/**/*
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
      when: always
  stage: build