We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15943d6 commit 8dd83a7Copy full SHA for 8dd83a7
1 file changed
.github/workflows/deploy-gh-pages.yml
@@ -0,0 +1,30 @@
1
+name: Deploy GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+permissions:
10
+ contents: write
11
12
+jobs:
13
+ deploy:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
22
+ # No build step needed; static files already exist in public/
23
24
+ - name: Deploy public/ to gh-pages
25
+ uses: peaceiris/actions-gh-pages@v4
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./public
29
+ publish_branch: gh-pages
30
0 commit comments