Skip to content

Instantly share code, notes, and snippets.

@Mattchewone Mattchewone/.gitlab-ci.yml Secret
Created Jun 5, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.