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 4b7fc6c commit b18b7d3Copy full SHA for b18b7d3
.github/workflows/deploy.yml
@@ -0,0 +1,24 @@
1
+name: Deploy to Vercel on Release
2
+
3
+on:
4
+ release:
5
+ types: [created] # Triggers the workflow when a release is created
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout Code
13
+ uses: actions/checkout@v4
14
15
+ - name: Install Vercel CLI
16
+ run: npm install -g vercel
17
18
+ - name: Deploy to Vercel
19
+ env:
20
+ VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # Vercel token for authentication
21
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} # Your Vercel project ID
22
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} # Your Vercel organization ID (if applicable)
23
+ run: vercel --prod --confirm
24
0 commit comments