diff options
author | Francesco Cioria <firefelix@gmail.com> | 2017-01-04 15:54:42 +0100 |
---|---|---|
committer | Francesco Cioria <firefelix@gmail.com> | 2017-01-04 15:54:42 +0100 |
commit | e21484a3b39ad4add71c147991e78859fdf16862 (patch) | |
tree | 1ef90febdb4d90dc114295da127e4f43b14418c7 | |
parent | 9c1dd47deb17b1c130fe966b04e224adb0d66623 (diff) | |
download | react-autosize-textarea-e21484a3b39ad4add71c147991e78859fdf16862.zip react-autosize-textarea-e21484a3b39ad4add71c147991e78859fdf16862.tar.gz react-autosize-textarea-e21484a3b39ad4add71c147991e78859fdf16862.tar.bz2 |
add task to CI to update examples after every commit on master
-rw-r--r-- | .drone.yml | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -23,6 +23,20 @@ build: when: branch: master + update-examples: + image: quay.io/buildo/node5-npm3-chrome + commands: + - npm run build-examples + - git add examples/bundle.js + - if ! git diff-index --quiet HEAD -- examples/bundle.js; then + git config --global user.name "nemobot"; + git config --global user.email "our-bots@buildo.io"; + git commit -m "Update examples [skip CI]"; + git push origin master; + fi + when: + branch: master + notify: downstream: repositories: |