Skip to content

Commit

Permalink
Add deploy docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SooluThomas committed Feb 15, 2024
1 parent 58ddf3d commit 1f7c88a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy mkdocs

on:
push:
branches:
- main
# This is just for testing purposes and needs to be removed
# before merge
pull_request:
types:
- opened
- synchronize

env:
PYTHON_VERSION: "3.10"

jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Build and deploy docs
run: mkdocs gh-deploy

0 comments on commit 1f7c88a

Please sign in to comment.