From e484261bb5772271afdbcc93d46cc281ce63eeb4 Mon Sep 17 00:00:00 2001 From: Michael Taranto Date: Fri, 1 Nov 2024 09:27:42 +1100 Subject: [PATCH] Use branch name --- .github/workflows/preview-site.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/preview-site.yml b/.github/workflows/preview-site.yml index 39bc0780503..b7dbf4ff71f 100644 --- a/.github/workflows/preview-site.yml +++ b/.github/workflows/preview-site.yml @@ -45,13 +45,11 @@ jobs: - name: Deploy PR Preview uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # 4.6.0 - env: - GH_SHA: ${{ GITHUB_SHA }} with: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages-test folder: ./site/dist - target-folder: ./${{GH_SHA}} + target-folder: ./_${{GITHUB_REF_NAME}} - name: Update PR status run: pnpm post-commit-status