Skip to content

Instantly share code, notes, and snippets.

@quadeare
Created July 6, 2020 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quadeare/61219dc31a3a19aa75a99ff83bab753f to your computer and use it in GitHub Desktop.
Save quadeare/61219dc31a3a19aa75a99ff83bab753f to your computer and use it in GitHub Desktop.
arts2win
# 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