Chore: fix invalid ci/cd config

This commit is contained in:
2021-11-23 22:26:57 +01:00
parent 6cc5122b5c
commit f12db3b816

View File

@@ -1,5 +1,5 @@
prepare_job:
stage: prepare # This stage must run before the release stage
stage: build # This stage must run before the release stage
rules:
- if: $CI_COMMIT_TAG
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
release_job:
stage: release
stage: deploy
image: registry.gitlab.com/gitlab-org/release-cli:latest
needs:
- job: prepare_job