From 823b1790f658b73442ed4be31f41472bb41370cf Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Mon, 24 Jun 2024 18:02:48 +0800 Subject: [PATCH] ci: manually copy the built file to vercel dir --- .github/actions/deploy-to-vercel/action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/deploy-to-vercel/action.yml b/.github/actions/deploy-to-vercel/action.yml index f529517b9..df14db049 100644 --- a/.github/actions/deploy-to-vercel/action.yml +++ b/.github/actions/deploy-to-vercel/action.yml @@ -23,11 +23,9 @@ runs: - name: Generate Vercel output shell: bash - env: - VERCEL_TOKEN: ${{ inputs.VERCEL_TOKEN }} run: | - vercel pull --yes --token=${{ env.VERCEL_TOKEN }} - vercel build --cwd build --token=${{ env.VERCEL_TOKEN }} + mkdir -p .vercel/output + cp -r build/* .vercel/output/ - name: Deploy to Vercel (Staging) if: ${{ inputs.ENVIRONMENT == 'Staging' }}