We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44390ad commit 2e0a2c5Copy full SHA for 2e0a2c5
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ build-deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v3
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: 22
19
20
+ - name: Install dependencies
21
+ run: npm install
22
23
+ - name: Build project
24
+ run: npm run build
25
26
+ - name: Deploy to GitHub Pages
27
+ uses: peaceiris/actions-gh-pages@v3
28
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: ./dist
0 commit comments