Skip to content

Commit

Permalink
refactor: fix vercel deploy
Browse files Browse the repository at this point in the history
Gtihub removed vercel from actions
  • Loading branch information
TrySound committed Jan 16, 2025
1 parent 9aeb7a6 commit 94f97e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/vercel/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ runs:
export GITHUB_SHA=${{ inputs.sha }}
export GITHUB_REF_NAME=${{ inputs.ref-name }}
vercel build
pnpx vercel build
shell: bash

- name: Patch
Expand All @@ -103,7 +103,7 @@ runs:
- name: Deploy
id: deploy
run: |
vercel deploy \
pnpx vercel deploy \
--prebuilt \
--token ${{ inputs.vercel-token }} \
2> >(tee info.txt >&2) | tee domain.txt
Expand All @@ -118,7 +118,7 @@ runs:
run: |
ALIAS="${{ steps.branch.outputs.value }}"
vercel alias set \
pnpx vercel alias set \
"${{ steps.deploy.outputs.domain }}" \
"${ALIAS}-wstd-00-${{ inputs.environment }}" \
--token ${{ inputs.vercel-token }} \
Expand Down

0 comments on commit 94f97e8

Please sign in to comment.