diff options
Diffstat (limited to '.github/workflows/publish-website.yml')
-rw-r--r-- | .github/workflows/publish-website.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml index f492738..191de25 100644 --- a/.github/workflows/publish-website.yml +++ b/.github/workflows/publish-website.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest name: Astro Build steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 name: Checkout Code - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 23 - name: Setup PNPM @@ -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 }} @@ -41,7 +41,7 @@ jobs: pages: write id-token: write steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 name: Download web artifact - name: Deploy github pages id: deployment |