Skip to content

Instantly share code, notes, and snippets.

@zilahir
Last active January 3, 2019 22:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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