From 21c43e1f31634d02a1811862d1492ec4bcea53d9 Mon Sep 17 00:00:00 2001 From: Binoy Patel Date: Mon, 23 Oct 2023 13:35:50 -0400 Subject: [PATCH] chore(e2e): add env vars to build step --- .github/workflows/e2e.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 746f6175e42..5b045ae3231 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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