-
-
Save Mattchewone/baa2989a6d38cebe7847391739728c07 to your computer and use it in GitHub Desktop.
Gatsby Gitlab YML
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: | |
- 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