Skip to content

Commit 3861623

Browse files
committed
Trying to fix workflow
1 parent f5c5e65 commit 3861623

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Workflow
1+
name: Deploy to Vercel
22

33
on:
44
push:
@@ -8,23 +8,23 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
1112
steps:
1213
- uses: actions/checkout@v2
1314

1415
- name: Set up Node.js
1516
uses: actions/setup-node@v2
1617
with:
17-
node-version: "22"
18+
node-version: '22'
1819

1920
- run: npm install
2021

2122
- name: Install Vercel CLI
22-
run: npm install -g vercel # This will install the Vercel CLI globally
23+
run: npm install -g vercel
2324

2425
- run: npm run build
2526

2627
- name: Deploy to Vercel
27-
run: vercel --prod
28+
run: vercel --prod --token ${{ secrets.VERCEL_TOKEN }}
2829
env:
29-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
3030
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)