Skip to content

Commit

Permalink
Create mkdocs-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig authored Apr 5, 2024
1 parent 2e08ff6 commit 9386b9b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/mkdocs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: MkDocs Deploy GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
build:
name: Deploy MkDocs
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/dns
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: requirements.txt

0 comments on commit 9386b9b

Please sign in to comment.