Verified Commit e5a5a32f authored by WorldTeacher's avatar WorldTeacher
Browse files

fix(ci): update workflow rules for CI pipeline to include push events on develop and main branches

parent 145fe570
Loading
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
stages:
  - build
  - publish
  - test
  - publish
  - production

workflow:
  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"'
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"'
    - if: "$CI_COMMIT_TAG"
    - when: never
# included templates
include:
  # semantic-release template