ci: don't use dependencies and needs together
Using dependencies and needs together doesn't work, the needs will be ignored. In addition, needs doesn't load the "needed job" artifacts by default, it has to be specified. Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2310>
This commit is contained in:
parent
fb87d3141a
commit
3420ea9f16
1 changed files with 5 additions and 5 deletions
|
|
@ -268,9 +268,8 @@ build_documentation:
|
|||
stage: build
|
||||
image: python:3.11
|
||||
needs:
|
||||
- build_openapi_schema
|
||||
dependencies:
|
||||
- build_openapi_schema
|
||||
- job: build_openapi_schema
|
||||
artifacts: true
|
||||
variables:
|
||||
BUILD_PATH: "../public"
|
||||
GIT_STRATEGY: clone
|
||||
|
|
@ -345,8 +344,9 @@ build_api:
|
|||
deploy_documentation:
|
||||
stage: publish
|
||||
image: alpine
|
||||
dependencies:
|
||||
- build_documentation
|
||||
needs:
|
||||
- job: build_documentation
|
||||
artifacts: true
|
||||
before_script:
|
||||
- apk add openssh-client rsync
|
||||
- mkdir -p ~/.ssh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue