Skip to content

Commit

Permalink
ci: use the build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Jun 25, 2024
1 parent 267c1cc commit f48e772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/deploy-to-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
VERCEL_PROJECT_ID: ${{ inputs.VERCEL_PROJECT_ID }}
VERCEL_TOKEN: ${{ inputs.VERCEL_TOKEN }}
run: |
url="$(vercel deploy --prebuilt --cwd .vercel/output --token=${{ env.VERCEL_TOKEN }})"
url="$(vercel deploy --prebuilt --cwd build --token=${{ env.VERCEL_TOKEN }})"
vercel alias set "$url" staging-api.binary.sx
- name: Deploy to Vercel (Production)
Expand All @@ -49,5 +49,5 @@ runs:
VERCEL_PROJECT_ID: ${{ inputs.VERCEL_PROJECT_ID }}
VERCEL_TOKEN: ${{ inputs.VERCEL_TOKEN }}
run: |
url="$(vercel deploy --prebuilt --cwd .vercel/output --token=${{ env.VERCEL_TOKEN }})"
url="$(vercel deploy --prebuilt --cwd build --token=${{ env.VERCEL_TOKEN }})"
vercel alias set "$url" api.binary.sx

0 comments on commit f48e772

Please sign in to comment.