fix(ci): always deploy when commit to main branch

This commit is contained in:
MDLeom 2022-01-08 05:45:10 +00:00
parent e788d09c3e
commit 4cd5ac1e0c
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 2 additions and 3 deletions

View File

@ -27,9 +27,8 @@ pages:
- public
rules:
# Only trigger through schedule job and "Run pipeline" in main branch
- if: '$CI_COMMIT_REF_NAME == "main" && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")'
when: always
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
include:
- template: Security/Secret-Detection.gitlab-ci.yml