Skip to content

LDoc - Debugging

LDoc - Debugging #63

Workflow file for this run

name: Generate LDoc Documentation
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Generate Dynamic Documentation
run: python .github/generate_dynamic_docs.py
- name: Setup Lua
uses: leafo/gh-actions-lua@v8
with:
luaVersion: "5.1"
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v4
- name: Setup dependencies
run: luarocks install ldoc
- name: Build docs
run: ldoc -l .github/custom_templates .
- name: List contents of docs directory
run: ls -al ./docs && cat ./docs/index.html
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: docs
token: ${{ secrets.GITHUB_TOKEN }}