feat(template): always deploy to pages on dev manual other

!25
This commit is contained in:
2023-05-22 13:20:54 +09:30
parent a0b6d05a0f
commit 8e2a233814

View File

@ -36,9 +36,15 @@ pages:
when: never when: never
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
when: never when: never
- if: '$CI_COMMIT_BRANCH == "development"'
exists:
- "mkdocs.yaml"
- "mkdocs.yml"
when: always
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "master"' - if: '$CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "master"'
exists: exists:
- "mkdocs.yaml" - "mkdocs.yaml"
- "mkdocs.yml" - "mkdocs.yml"
when: on_success when: manual
allow_failure: true
- when: never - when: never