Skip to content

Commit

Permalink
Stop docs deployment on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar authored and alinelena committed Mar 15, 2024
1 parent f20c6ed commit 99ab066
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/aiida-mlip'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 99ab066

Please sign in to comment.