Created
July 6, 2020 12:37
-
-
Save quadeare/61219dc31a3a19aa75a99ff83bab753f to your computer and use it in GitHub Desktop.
arts2win
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
# Build | |
build() { | |
case ${CI_COMMIT_REF_NAME} in | |
"master") | |
npm run build -- preprod | |
;; | |
"develop") | |
npm run build -- staging | |
;; | |
*) | |
npm run build -- prod | |
;; | |
esac | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment