From ebf5a76d1e363b36469e63f85d047dcb41e95201 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Mon, 24 Jun 2024 16:37:37 +0800 Subject: [PATCH] ci: add prebuilt flag to prevent vercel build --- .github/actions/deploy-to-vercel/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/deploy-to-vercel/action.yml b/.github/actions/deploy-to-vercel/action.yml index 4355a75fd..ff75fa1ad 100644 --- a/.github/actions/deploy-to-vercel/action.yml +++ b/.github/actions/deploy-to-vercel/action.yml @@ -29,7 +29,7 @@ runs: VERCEL_PROJECT_ID: ${{ inputs.VERCEL_PROJECT_ID }} VERCEL_TOKEN: ${{ inputs.VERCEL_TOKEN }} run: | - url="$(vercel deploy --cwd build --token=$VERCEL_TOKEN)" + url="$(vercel deploy --prebuilt --cwd build --token=$VERCEL_TOKEN)" vercel alias set "$url" staging-api.binary.sx - name: Deploy to Vercel (Production) @@ -40,5 +40,5 @@ runs: VERCEL_PROJECT_ID: ${{ inputs.VERCEL_PROJECT_ID }} VERCEL_TOKEN: ${{ inputs.VERCEL_TOKEN }} run: | - url="$(vercel deploy --cwd build --token=$VERCEL_TOKEN)" + url="$(vercel deploy --prebuilt --cwd build --token=$VERCEL_TOKEN)" vercel alias set "$url" api.binary.sx