Skip to content

Commit

Permalink
Prevent github.io deployment from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund committed Jan 14, 2023
1 parent 3c8e9dd commit e63a54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
path: .tox/py311-docs/tmp/docsbuild/

- name: Publish site to gh-pages
if: github.event_name != 'pull_request' && github.repository == 'VUnit/vunit'
if: github.event_name != 'pull_request' && github.repository == 'VUnit/vunit' && github.ref_name == 'master'
env:
GH_DEPKEY: ${{ secrets.VUNIT_GITHUB_IO_DEPLOY_KEY }}
run: |
Expand Down

0 comments on commit e63a54e

Please sign in to comment.