diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index c6d4a53ac..1cfa0313b 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -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}"