diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 4f31d92af..872393e76 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -42,7 +42,7 @@ jobs: with: apiToken: ${{ secrets.API_TOKEN }} accountId: ${{ secrets.ACCOUNT_ID }} - command: pages deploy dist --project-name=${{ vars.PROJECT_NAME }} + command: pages deploy dist --project-name=${{ vars.PROJECT_NAME }} --branch ${{ github.head_ref || github.ref }} --commit-hash ${GITHUB_SHA} workingDirectory: frontend - name: Upload artifact uses: actions/upload-artifact@v4