diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index d066effe0..7fe5998b5 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -57,7 +57,7 @@ jobs: run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - name: Write Release Info run: | - echo "{\"latestTag\": \"$(git rev-parse --short $GITHUB_SHA)\"}" > assets/release.json + echo "{\"latestTag\": \"$(git rev-parse --short ${{ github.event.pull_request.head.sha }})\"}" > assets/release.json - name: Build Project Artifacts run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - run: pnpm build-storybook @@ -73,7 +73,7 @@ jobs: - name: Write commit redirect index.html run: | mkdir -p .vercel/output/static/commit - echo "" > .vercel/output/static/commit/index.html + echo "" > .vercel/output/static/commit/index.html - name: Download Generated Sounds map run: node scripts/downloadSoundsMap.mjs - name: Deploy Project Artifacts to Vercel