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 0847275 commit bee7b8eCopy full SHA for bee7b8e
.github/workflows/deploy.yml
@@ -0,0 +1,22 @@
1
+name: Deploy
2
+
3
+on:
4
+ discussion:
5
+ types: [created, edited]
6
+ push:
7
+ branches:
8
+ - next14
9
+jobs:
10
+ deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ - name: Install Vercel cli
16
+ run: npm install -g vercel
17
+ - name: Setup
18
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
19
+ - name: Build
20
+ run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
21
+ - name: Deploy
22
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
.github/workflows/discussion-opened.yml
0 commit comments