We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df20251 commit 32dde03Copy full SHA for 32dde03
1 file changed
.github/workflows/deployVercel.yml
@@ -13,20 +13,11 @@ jobs:
13
- name: Checkout repository
14
uses: actions/checkout@v3
15
16
- - name: Set up Node.js
17
- uses: actions/setup-node@v3
18
- with:
19
- node-version: "20"
20
-
21
- - name: Install dependencies
22
- run: npm install --legacy-peer-deps
23
24
- - name: Build the project
25
- run: npm run build
26
27
- name: Deploy to Vercel
28
- env:
29
- VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
30
- run: |
31
- npm install -g vercel
32
- vercel --prod --confirm --token $VERCEL_TOKEN
+ uses: amondnet/vercel-action@v25
+ with:
+ vercel-token: ${{ secrets.VERCEL_TOKEN }}
+ vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
+ vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
+ working-directory: ./
+ vercel-args: '--prod'
0 commit comments