Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Integrate wercker with bitbucket, firebase, slack
box: ubuntu
build:
steps:
- script:
name: start build
code: echo "started building..."
deploy-firebase:
steps:
- script:
name: node installation prep
code: |
apt-get update
apt-get install curl -y
- script:
name: node installation
code: |
curl -sL https://deb.nodesource.com/setup_4.x | bash
apt-get install nodejs -y
- script:
name: firebase-deploy
code: |
npm install -g firebase-tools
firebase deploy --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
You can’t perform that action at this time.