Skip to content

Commit

Permalink
ci: fix static not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Jun 25, 2024
1 parent c4b4b04 commit 2f770c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/deploy-to-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ runs:
shell: bash
run: |
vercel pull --yes --token=${{ env.VERCEL_TOKEN }} --scope=deriv
mkdir -p .vercel/output/static
vercel build --yes --token=${{ env.VERCEL_TOKEN }} --scope=deriv
rm -rf .vercel/output/static
cp -r build/* .vercel/output/static
rm -rf .vercel/output/static/*
cp -r build/* .vercel/output/static/
- name: Deploy to Vercel (Staging)
if: ${{ inputs.ENVIRONMENT == 'Staging' }}
Expand Down

0 comments on commit 2f770c0

Please sign in to comment.