Skip to content

Commit

Permalink
feat: create ghpages-mkdocs.yml workflow template
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Mar 12, 2024
1 parent 633a2ef commit 7d29c71
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions workflow-templates/ghpages-mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# No Clocks, LLC GitHub Pages Default MkDocs Workflow

name: MkDocs - GitHub Pages
on:
workflow_dispatch:
push:
branches:
- $default-branch
pull_request:
branches:
- $default-branch

jobs:
ghlabels:
name: Publish MkDocs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Publish
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CUSTOM_DOMAIN: docs.noclocks.dev/${{ repo_name }}
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: requirements.txt


0 comments on commit 7d29c71

Please sign in to comment.