Chore: fix invalid ci/cd config
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
prepare_job:
|
prepare_job:
|
||||||
stage: prepare # This stage must run before the release stage
|
stage: build # This stage must run before the release stage
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
when: never # Do not run this job when a tag is created manually
|
when: never # Do not run this job when a tag is created manually
|
||||||
@@ -12,7 +12,7 @@ prepare_job:
|
|||||||
dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs
|
dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs
|
||||||
|
|
||||||
release_job:
|
release_job:
|
||||||
stage: release
|
stage: deploy
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
needs:
|
needs:
|
||||||
- job: prepare_job
|
- job: prepare_job
|
||||||
|
|||||||
Reference in New Issue
Block a user