Skip to content

Commit

Permalink
MkDocs deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SamErde committed Aug 25, 2024
1 parent 34d6ce3 commit 8552c97
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/Deploy_MkDocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy MkDocs to GitHub Pages

on:
push:
branches:
- main # or the branch you want to deploy from

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # specify the Python version

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material
- name: Build and deploy
run: |
mkdocs build
mkdocs gh-deploy --force

0 comments on commit 8552c97

Please sign in to comment.