Skip to content

Commit

Permalink
feat: add MkDocs GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Mar 11, 2024
1 parent cf6555f commit 7835d83
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Docs
on:
push:
branches:
- main

jobs:
build:
name: Deploy Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Deployment
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: docs.noclocks.dev/operations
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: requirements.txt

0 comments on commit 7835d83

Please sign in to comment.