Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

refactor: fix vercel deploy (#4752)

Bogdan Chadkina98f149ccba9
diff --git a/.github/actions/vercel/action.yaml b/.github/actions/vercel/action.yaml
index 1bf1257794..20077162ac 100644
--- a/.github/actions/vercel/action.yaml
+++ b/.github/actions/vercel/action.yaml
@@ -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
@@ -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
@@ -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 }} \