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 0097e27 commit 921777cCopy full SHA for 921777c
.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
1
+name: Deploy
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20'
20
21
+ - name: Install dependencies
22
+ run: npm ci
23
24
+ - name: Install Vercel CLI
25
+ run: npm install --global vercel@latest
26
27
+ - name: Deploy to Vercel
28
+ run: vercel --prod --token=${{ secrets.VERCEL_TOKEN }}
0 commit comments