Created
April 19, 2021 02:07
-
-
Save toygame/8d8624a1ed5f7e79b959e8ca45375c37 to your computer and use it in GitHub Desktop.
Gitlab-ci and Semantic-release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: node:latest | |
stages: | |
- release | |
deploy_production: | |
stage: release | |
only: | |
refs: | |
- master | |
except: | |
refs: | |
- tags | |
variables: | |
- $CI_COMMIT_TITLE =~ /^RELEASE:.+$/ | |
before_script: | |
- npm install | |
script: | |
- npx semantic-release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment