CI: don't deploy docs from scheduled pipelines
The package auto-update runs in a scheduled pipeline, it should be the only job that runs however a discrepency in the rules for the deploy-docs job results in it running as well. To mitigate this, add an additional rule to never run the job in a scheduled pipeline. Signed-off-by: Casey Connolly <kcxt@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7457>
This commit is contained in:
parent
b0a87bf9f4
commit
eaf6ff6567
1 changed files with 2 additions and 0 deletions
|
|
@ -219,6 +219,8 @@ deploy-docs:
|
|||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE == "postmarketOS"
|
||||
changes:
|
||||
- docs/**
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
when: never
|
||||
|
||||
auto-update:
|
||||
stage: autoupdate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue