Skip to content

Commit

Permalink
add github workflow for mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
deltheil committed Jan 8, 2024
1 parent 9b9578c commit 60981b7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy docs to GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2

- name: Deploy MkDocs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUIREMENTS: ./requirements.docs.txt
1 change: 1 addition & 0 deletions requirements.docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs-material==9.5.3

0 comments on commit 60981b7

Please sign in to comment.