Created
April 6, 2018 14:23
-
-
Save nabeen/63537358533c9cebf23547f6a9f576d2 to your computer and use it in GitHub Desktop.
gatsby build and deploy to firebase
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
box: node | |
build: | |
steps: | |
- script: | |
name: npm build | |
code: | | |
npm install -g gatsby | |
yarn install | |
gatsby build | |
deploy: | |
steps: | |
- script: | |
name: install firebase-tools | |
code: | | |
npm install -g firebase-tools | |
- script: | |
name: deploy firebase | |
code: | | |
firebase deploy --project "$FIREBASE_PROJECT" --token "$FIREBASE_TOKEN" --only hosting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment