Skip to content

Instantly share code, notes, and snippets.

@zilahir
Last active January 3, 2019 22:19
Show Gist options
  • Save zilahir/76642a8dfbaa62ffd36e597c2448c5cc to your computer and use it in GitHub Desktop.
Save zilahir/76642a8dfbaa62ffd36e597c2448c5cc to your computer and use it in GitHub Desktop.
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:[email protected]/$HEROKU_APP_NAME.git HEAD:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment