We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505ec8a commit 4fe62c1Copy full SHA for 4fe62c1
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,36 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ deploy:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
19
+ - name: Use Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 22
23
+ cache: npm
24
25
+ - name: Install dependencies
26
+ run: npm ci
27
28
+ - name: Build website
29
+ run: npm run build
30
31
+ - name: Deploy to GitHub Pages
32
+ uses: peaceiris/actions-gh-pages@v4
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_dir: ./build
36
0 commit comments