diff --git a/.github/workflows/generate-docs.yaml b/.github/workflows/generate-docs.yaml new file mode 100644 index 0000000..f90a990 --- /dev/null +++ b/.github/workflows/generate-docs.yaml @@ -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