name: Auto-Generate Docs
on: [push, pull_request]
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Generate Docs with AI
uses: paulrobertlloyd/docify@latest
with:
input: "src/"
output: "docs/"
- name: Commit & Push Docs
run: |
git add docs/
git commit -m "Auto-generated documentation"
git push
|