Skip to content

Commit 37661b7

Browse files
authored
Merge pull request #3557 from samsrabin/only-deploy-docs-on-upstream
docs-build-and-deploy: Only run on upstream
2 parents 23f7dd4 + f322bf6 commit 37661b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docs-build-and-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ concurrency:
3333
jobs:
3434

3535
build-and-deploy:
36+
37+
# Only run on upstream repository
38+
if: ${{ github.repository == 'ESCOMP/CTSM' }}
39+
3640
environment:
3741
name: github-pages
3842
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)