We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5c5e65 commit 3861623Copy full SHA for 3861623
.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
1
-name: Deploy Workflow
+name: Deploy to Vercel
2
3
on:
4
push:
@@ -8,23 +8,23 @@ on:
8
jobs:
9
deploy:
10
runs-on: ubuntu-latest
11
+
12
steps:
13
- uses: actions/checkout@v2
14
15
- name: Set up Node.js
16
uses: actions/setup-node@v2
17
with:
- node-version: "22"
18
+ node-version: '22'
19
20
- run: npm install
21
22
- name: Install Vercel CLI
- run: npm install -g vercel # This will install the Vercel CLI globally
23
+ run: npm install -g vercel
24
25
- run: npm run build
26
27
- name: Deploy to Vercel
- run: vercel --prod
28
+ run: vercel --prod --token ${{ secrets.VERCEL_TOKEN }}
29
env:
- VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
30
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
0 commit comments