Created
July 29, 2017 22:08
-
-
Save pradeep1991singh/fd192c7fbeec7a59d41f5d02db92fd86 to your computer and use it in GitHub Desktop.
Integrate wercker with bitbucket, firebase, slack
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: 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