Gatsby Gitlab YML
image: node:latest | |
stages: | |
- deploy | |
deploy-prod: | |
stage: deploy | |
only: | |
- master | |
script: | |
- npm i | |
- npm i -g gatsby-cli | |
- npm i -g firebase-tools | |
- gatsby build | |
- firebase use $PROJECT_ID --token $FIREBASE_TOKEN | |
- firebase deploy --only hosting -m "Pipe $CI_PIPELINE_ID Build $CI_BUILD_ID" --token $FIREBASE_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment