Skip to content

Commit 04f1a7b

Browse files
committed
added wf to publish docs to GitHub pages
1 parent 4c395ea commit 04f1a7b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/docs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy Pre-Built Docs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-docs:
10+
name: Deploy Docs
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# 1. Checkout repository
15+
- name: Checkout repository
16+
uses: actions/checkout@v6
17+
18+
# 2. Deploy to GitHub Pages
19+
- name: Deploy pre-built docs
20+
uses: peaceiris/actions-gh-pages@v4
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./docs/_build/html

0 commit comments

Comments
 (0)