refactor: improve organisation #18
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 documentation | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'ldoc/**.lua' | |
jobs: | |
docs-master: | |
name: Generate master documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Run LDoc | |
uses: lunarmodules/[email protected] | |
- name: Deploy to Github Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc |