aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish-website.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml
index f492738..b6f45b9 100644
--- a/.github/workflows/publish-website.yml
+++ b/.github/workflows/publish-website.yml
@@ -33,7 +33,7 @@ jobs:
name: Deploy Website
runs-on: ubuntu-latest
needs: build-website
- if: ${{ 'push' == github.event_name && 'master' == github.ref_name && '637563904' == github.repository_id }}
+ if: ${{ 'push' == github.event_name && github.ref_name == github.event.repository.default_branch && '637563904' == github.repository_id }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}