Skip to content

Linting

Linting #49

Workflow file for this run

name: Generate docs
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- name: Clone wiki
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: .wiki
- name: Parse and generate docs
uses: p3lim/lua-doc-parser@v2
with:
output: .wiki
- name: Commit and push docs
run: |
cd .wiki
git config user.name 'github-actions[bot]'
git config user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
git add .
git diff --quiet HEAD || git commit -m '${{ github.sha }}'
git push