Skip to content

Commit

Permalink
chore(e2e): add env vars to build step
Browse files Browse the repository at this point in the history
  • Loading branch information
binoy14 committed Oct 23, 2023
1 parent 2d73465 commit 21c43e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ jobs:
run: yarn build:cli # Needed for CLI tests

- name: Build E2E test studio
env:
# Update the SANITY_E2E_SESSION_TOKEN on github to the new value once this is merged to next
# Change the below to `secrets.SANITY_E2E_SESSION_TOKEN`
# Delete `SANITY_E2E_SESSION_TOKEN_NEW` from github
SANITY_E2E_SESSION_TOKEN: ${{ secrets.SANITY_E2E_SESSION_TOKEN_NEW }}
SANITY_E2E_PROJECT_ID: ${{ secrets.SANITY_E2E_PROJECT_ID }}
SANITY_E2E_DATASET: ${{ secrets.SANITY_E2E_DATASET }}
run: yarn e2e:build

- name: Run end-to-end tests
Expand Down

0 comments on commit 21c43e1

Please sign in to comment.