Skip to content

Instantly share code, notes, and snippets.

@pradeep1991singh
Created July 29, 2017 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pradeep1991singh/fd192c7fbeec7a59d41f5d02db92fd86 to your computer and use it in GitHub Desktop.
Save pradeep1991singh/fd192c7fbeec7a59d41f5d02db92fd86 to your computer and use it in GitHub Desktop.
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