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 06424f9 commit 72d6607Copy full SHA for 72d6607
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,38 @@
1
+name: Deploy Website
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+permissions:
7
+ contents: write
8
9
+jobs:
10
+ deploy:
11
+ name: Build & Deploy
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up pnpm
19
+ uses: pnpm/action-setup@v4
20
+ with:
21
+ version: 10.29.3
22
23
+ - name: Set up Node.js
24
+ uses: actions/setup-node@v4
25
26
+ node-version: 20
27
+ cache: pnpm
28
29
+ - name: Install dependencies
30
+ run: pnpm install --frozen-lockfile
31
32
+ - name: Build packages
33
+ run: pnpm run build
34
35
+ - name: Deploy site
36
+ run: pnpm run deploy
37
+ env:
38
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments