From dfedd886c583de62b160e3d1d62e55fc21f8a74e Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Tue, 30 Jul 2024 16:28:34 +0800 Subject: [PATCH] Ako/ override installCommand of vercel (#16257) * build: override installcommand of vercel * build: override installcommand of vercel (#16256) * ci: fix the staging vercel env --- .github/workflows/release_staging.yml | 2 +- vercel.dr.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index 3d7df848999a..23d99564e6f0 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -59,6 +59,6 @@ jobs: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_API_TOKEN }} - ENVIRONMENT: Production + ENVIRONMENT: Preview VERCEL_SCOPE: deriv ALIAS_DOMAIN_URL: 'staging-app-dr.binary.sx' diff --git a/vercel.dr.json b/vercel.dr.json index 8b972ec0c144..83085295311e 100644 --- a/vercel.dr.json +++ b/vercel.dr.json @@ -1,5 +1,6 @@ { "outputDirectory": "packages/core/dist", "buildCommand": "echo ✅ Skipping build to use existing built files", - "routes": [{ "handle": "filesystem" }, { "src": "/(.*)", "dest": "/index.html" }] + "routes": [{ "handle": "filesystem" }, { "src": "/(.*)", "dest": "/index.html" }], + "installCommand": "echo ✅ Skipping install, no dependencies to install" }