Skip to content

Commit 3919f50

Browse files
authored
fix(actions): fix e2e UI test (#9718)
1 parent 6ab8137 commit 3919f50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/e2e-ui.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
# Delete `SANITY_E2E_SESSION_TOKEN_NEW` from github
131131
SANITY_E2E_SESSION_TOKEN: ${{ secrets.SANITY_E2E_SESSION_TOKEN_NEW_STAGING }}
132132
SANITY_E2E_PROJECT_ID: ${{ vars.SANITY_E2E_PROJECT_ID_STAGING }}
133+
VERCEL_SANITY_API_DEPLOY_TOKEN: ${{ secrets.VERCEL_SANITY_API_DEPLOY_TOKEN }}
133134
# the id is based on the PR number and the workflow run id
134135
SANITY_E2E_DATASET: ${{ github.event_name == 'pull_request' && format('pr-{0}-{1}-{2}', github.event.number, matrix.project, github.run_id) || vars.SANITY_E2E_DATASET_STAGING }}
135136
run: pnpm e2e:setup && pnpm e2e:build
@@ -196,6 +197,7 @@ jobs:
196197
# Delete `SANITY_E2E_SESSION_TOKEN_NEW` from github
197198
SANITY_E2E_SESSION_TOKEN: ${{ secrets.SANITY_E2E_SESSION_TOKEN_NEW_STAGING }}
198199
SANITY_E2E_PROJECT_ID: ${{ vars.SANITY_E2E_PROJECT_ID_STAGING }}
200+
VERCEL_SANITY_API_DEPLOY_TOKEN: ${{ secrets.VERCEL_SANITY_API_DEPLOY_TOKEN }}
199201
# the id is based on the PR number and the workflow run id
200202
SANITY_E2E_DATASET: ${{ github.event_name == 'pull_request' && format('pr-{0}-{1}-{2}', github.event.number, matrix.project, github.run_id) || vars.SANITY_E2E_DATASET_STAGING }}
201203
# As e2e:build ran in the `install` job, turbopack restores it from cache here

0 commit comments

Comments
 (0)