Skip to content

Workflow file for this run

name: Generate documentation
on:
push:
branches:
- main
paths:
- 'README.md'
- 'lua/**'
- 'plugin/**'
permissions:
contents: write
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate docs with LDoc
uses: lunarmodules/[email protected]
- name: Commit and push generated docs
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'auto generate documentation'
branch: ${{ github.ref }}
file_pattern: doc/
commit_user_name: 'github-actions[bot]'
commit_user_email: 'github-actions[bot]@users.noreply.github.com'