Skip to content

Commit

Permalink
ci: generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Frost committed May 19, 2024
1 parent f970191 commit d6b186c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/generate-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Generate HTML documentation

on:
push:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

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

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: python -m pip install -U md2html-phuker

- name: Generate HTML documentation
run: md2html DOCS.md

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs
path: DOCS.html

0 comments on commit d6b186c

Please sign in to comment.