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

ci: Make build-and-publish run only on approved merge request (hopefully)

parent b20d28a5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,8 +44,8 @@ lint-and-validate:

build-and-publish:
  rules:
    - changes:
      - src/content/**/*
    - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_APPROVED
      when: always
  stage: build
  inherit:
    default: true