From 1833c0cdd5b4fb0ecbed37b7fac70f35d39478ae Mon Sep 17 00:00:00 2001 From: Oliver Lazoroski Date: Tue, 12 Dec 2023 13:50:41 +0100 Subject: [PATCH] chore: add BASE_PATH configuration --- .github/workflows/deploy-react-sample-apps.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy-react-sample-apps.yml b/.github/workflows/deploy-react-sample-apps.yml index d29d963806..148e87598d 100644 --- a/.github/workflows/deploy-react-sample-apps.yml +++ b/.github/workflows/deploy-react-sample-apps.yml @@ -45,6 +45,7 @@ jobs: project-id: prj_4TTdjeVHEDhWWiFRfjIr1QFb5ell - name: react-dogfood - https://getstream.io/video/demos project-id: prj_tTLn3XMVal4D1Nnel9nPJ0hoI9wA + base-path: /video/demos env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} @@ -86,6 +87,8 @@ jobs: ### Vercel deployment (Preview) ### - name: Vercel Pull/Build/Deploy (Preview) if: ${{ github.ref_name != 'main' }} + env: + BASE_PATH: ${{ matrix.application.base-path || '' }} run: > yarn vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} && yarn vercel build --token=${{ secrets.VERCEL_TOKEN }} && @@ -94,6 +97,8 @@ jobs: ### Vercel deployment (Production) ### - name: Vercel Pull/Build/Deploy (Production) if: ${{ github.ref_name == 'main' }} + env: + BASE_PATH: ${{ matrix.application.base-path || '' }} run: > yarn vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} && yarn vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} &&