Proper(-ish) automatic "new" state for settings #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Push docs | |
run: | | |
cd .wiki | |
git config user.name CI | |
git config user.email "<>" | |
git add . | |
git diff --quiet HEAD || git commit -m '${{ github.sha }}' | |
git push |