From cfa6ee27836a3e22c3519d5249dbc0d143d3b594 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 27 Dec 2023 12:03:18 -0800 Subject: [PATCH] Only publish website on upstream repo --- .github/workflows/website.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index c73ff689..7a34d0a2 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -2,7 +2,8 @@ name: Website on: push: - branches: ["main"] + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -21,6 +22,8 @@ concurrency: jobs: # Single deploy job since we're just deploying deploy: + if: ${{ github.repository_owner == 'SleipnirGroup' }} + environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}