Skip to content

Instantly share code, notes, and snippets.

@devillecodes
Last active April 7, 2018 10:54
Show Gist options
  • Save devillecodes/581f75d7c8bbc1ba54c1c87184fb70cd to your computer and use it in GitHub Desktop.
Save devillecodes/581f75d7c8bbc1ba54c1c87184fb70cd to your computer and use it in GitHub Desktop.
Example wercker with Firebase deploy step
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