Skip to content

Merge pull request #81 from santiaboy/scene-args #41

Merge pull request #81 from santiaboy/scene-args

Merge pull request #81 from santiaboy/scene-args #41

Workflow file for this run

name: Update documentation
on:
push:
branches:
- 'main'
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Check out main branch
uses: actions/checkout@v3
- name: Install Lua
uses: leafo/[email protected]
with:
luaVersion: "5.4"
- name: Install Luarocks package manager
uses: leafo/[email protected]
- name: Install LDoc (with dependencies)
run: |
luarocks install ldoc
- name: Generate HTML documentation using LDoc
run: |
ldoc -c .docs/.ldoc/config.ldoc .
- name: Commit any changes made inside the .docs folder
uses: EndBug/[email protected]
with:
add: '.docs'
remove: '.lua'
default_author: github_actions
author_name: Noble Robot
author_email: [email protected]
message: '(Documentation updates)'
push: true
- name: Remove .lua
uses: JesseTG/[email protected]
with:
path: .lua
- name: Remove .luarocks
uses: JesseTG/[email protected]
with:
path: .luarocks
- uses: numtide/clean-git-action@v1
- name: GitHub Pages Overwriter
uses: rayluo/[email protected]
with:
source-directory: .docs
target-branch: gh_pages