Skip to content

Commit 7835d83

Browse files
committed
feat: add MkDocs GHA
1 parent cf6555f commit 7835d83

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/publish-docs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Docs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
name: Deploy Docs
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Deployment
18+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
19+
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
CUSTOM_DOMAIN: docs.noclocks.dev/operations
23+
CONFIG_FILE: mkdocs.yml
24+
REQUIREMENTS: requirements.txt

0 commit comments

Comments
 (0)