Skip to content

Commit

Permalink
Merge pull request #1 from ElliottKasoar/update-docs-ci
Browse files Browse the repository at this point in the history
Stop docs deployment on forks
  • Loading branch information
ElliottKasoar authored Mar 15, 2024
2 parents 220d7d2 + 1cb3dac commit 81a211c
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 @@ -17,7 +17,7 @@ concurrency:

jobs:
docs-deploy:
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && github.repository == 'stfc/janus-core'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 81a211c

Please sign in to comment.