Skip to content

Commit

Permalink
ci: Update checks for the documentation deployment to avoid triggerin…
Browse files Browse the repository at this point in the history
…g on pull requests from forks.
  • Loading branch information
nfelt14 committed Dec 18, 2023
1 parent bc4ed8c commit c82f2b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ concurrency:
jobs:
publish-docs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }} && github.ref ==
'refs/heads/main'
if: github.repository == 'tektronix/tm_devices' && github.event.workflow_run.conclusion
== 'success' && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
Expand Down

0 comments on commit c82f2b4

Please sign in to comment.