We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253a63a commit c94d149Copy full SHA for c94d149
.github/workflows/deploy.yaml
@@ -0,0 +1,29 @@
1
+name: Deploy to Vercel
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Setup Node.js
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: '22'
18
+ cache: 'npm'
19
20
+ - name: Install dependencies
21
+ run: npm install
22
23
+ - name: Deploy to Vercel
24
+ uses: amondnet/vercel-action@v25
25
26
+ vercel-token: ${{ secrets.VERCEL_TOKEN }}
27
+ vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
28
+ vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
29
+ vercel-args: '--prod'
0 commit comments