Update .gitlab-ci.yml file
This commit is contained in:
@@ -14,6 +14,14 @@ install-job: # This job runs in the build stage, which runs first.
|
|||||||
paths:
|
paths:
|
||||||
- Web/dist/Web/browser # The 'dist' directory will be available in the next stage.
|
- Web/dist/Web/browser # The 'dist' directory will be available in the next stage.
|
||||||
|
|
||||||
|
semantic-release:
|
||||||
|
image: node:24
|
||||||
|
stage: release
|
||||||
|
script:
|
||||||
|
- npx semantic-release
|
||||||
|
only:
|
||||||
|
- 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: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
environment: production
|
environment: production
|
||||||
|
|||||||
Reference in New Issue
Block a user