Skip to content

Commit

Permalink
ci: manually copy the built file to vercel dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Jun 24, 2024
1 parent 2851d83 commit 823b179
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/actions/deploy-to-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 823b179

Please sign in to comment.