Skip to content

Commit 0ae55c1

Browse files
Create publishdocs.yml
1 parent 9c37544 commit 0ae55c1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/publishdocs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Publish docs via GitHub Pages
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Deploy docs
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout main
14+
uses: actions/checkout@v4
15+
16+
- name: Deploy docs
17+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
CONFIG_FILE: mkdocs.yml
21+
EXTRA_PACKAGES: build-base
22+
REQUIREMENTS: requirements.txt

0 commit comments

Comments
 (0)