Last active
April 7, 2018 10:54
-
-
Save devillecodes/581f75d7c8bbc1ba54c1c87184fb70cd to your computer and use it in GitHub Desktop.
Example wercker with Firebase deploy step
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: devillex/docker-firebase | |
build: | |
steps: | |
- npm-install | |
- script: | |
name: run npm build script | |
code: npm run build | |
- script: | |
name: echo nodejs information | |
code: | | |
echo "node version $(node -v) running" | |
echo "npm version $(npm -v) running" | |
after-steps: | |
- slack-notifier: | |
url: $SLACK_WEBHOOK_URL | |
username: wercker | |
deploy-firebase: | |
steps: | |
- devillexio/firebase-deploy@1.2.0: | |
project: $FIREBASE_PROJECT_NAME | |
token: $FIREBASE_TOKEN | |
after-steps: | |
- slack-notifier: | |
url: $SLACK_WEBHOOK_URL | |
username: wercker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment