Publish docs and demos only pushing to master

This commit is contained in:
Simon Hausmann 2020-08-24 16:53:27 +02:00
parent 7dd335282c
commit 063ff45d0c

View file

@ -105,6 +105,7 @@ jobs:
npm run build
working-directory: examples/printerdemo/wasm
- name: Publish C++ Docs and Demos
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"