Skip to content

Commit

Permalink
ci: add prebuilt flag to prevent vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Jun 24, 2024
1 parent 5a500ad commit ebf5a76
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 @@ -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)
Expand All @@ -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

0 comments on commit ebf5a76

Please sign in to comment.