Instantly share code, notes, and snippets.

Embed
What would you like to do?
bitbucket-pipeline
pipelines:
branches:
master:
- step:
image: node:8
name: run webpack
script:
- cd wp-content/themes/wp-demo/assets/src
- npm install -g webpack
- npm install -g webpack-cli
- npm install
- webpack
- step:
image: node:8
trigger: manual
name: push all changes to heroku environment
script:
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment