Skip to content

Commit

Permalink
Added autodeployment
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutherland333 committed Jan 6, 2025
1 parent 997aa2d commit 2e9f724
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy MkDocs Documentation

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest

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

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
pip install mkdocs-material
- name: Build and Deploy
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2e9f724

Please sign in to comment.