diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9147c58..560cb2e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -9,6 +9,8 @@ on: paths: - 'documentation/**' - '.github/workflows/documentation.yml' + branches: + - master jobs: checks: @@ -31,7 +33,7 @@ jobs: fi npm run build gh-release: - if: github.event_name != 'pull_request' + if: github.event_name == 'push' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2