mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
gitlab-ci: 'pages' needs 'Build documentation' but it has changes:
Fixes this error: > Unable to create pipeline > > 'pages' job needs 'Build documentation' job, but 'Build documentation' > does not exist in the pipeline. This might be because of the only, > except, or rules keywords. To need a job that sometimes does not exist > in the pipeline, use needs:optional.
This commit is contained in:
parent
51b55963a5
commit
f4f1c003a6
1 changed files with 3 additions and 1 deletions
|
@ -734,7 +734,9 @@ pages:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
needs: ["Build documentation"]
|
needs:
|
||||||
|
- job: "Build documentation"
|
||||||
|
optional: true
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # only publish pages on default (master) branch
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # only publish pages on default (master) branch
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue