Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
stages: # Define the stages of the pipeline.
|
stages: # Define the stages of the pipeline.
|
||||||
- build
|
- build
|
||||||
#- test
|
#- test
|
||||||
- deploy
|
- release
|
||||||
|
|
||||||
install-job: # This job runs in the build stage, which runs first.
|
install-job: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: build
|
||||||
@@ -23,7 +23,7 @@ semantic-release:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
environment: production
|
environment: production
|
||||||
tags:
|
tags:
|
||||||
- deployment
|
- deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user