Skip to content

Commit 6b54d8d

Browse files
committed
chore(build): disable gh-pages outside main repo
1 parent 9ea06fa commit 6b54d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
deploy-ghpages:
4040
name: Deploy to github pages
41-
if: github.event_name == 'push' && github.ref_name == 'main'
41+
if: github.event_name == 'push' && github.ref_name == 'main' && github.repository == 'IGNF/cartes.gouv.fr-documentation'
4242
environment:
4343
name: github-pages
4444
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)