From 927e1e2830ff6a43b2401b5909ef9f6e6a0310d6 Mon Sep 17 00:00:00 2001 From: Michael Taranto Date: Fri, 1 Nov 2024 10:10:02 +1100 Subject: [PATCH] Use context --- .github/workflows/preview-site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-site.yml b/.github/workflows/preview-site.yml index 4f7938af684..35bb56489fe 100644 --- a/.github/workflows/preview-site.yml +++ b/.github/workflows/preview-site.yml @@ -49,7 +49,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages-test folder: ./site/dist - target-folder: ${{ env.GITHUB_SHA }} + target-folder: ${{ github.event.head.sha }} - name: Update PR status run: pnpm post-commit-status