Skip to content

fix: Duplicate docs file. #273

fix: Duplicate docs file.

fix: Duplicate docs file. #273

Workflow file for this run

name: Documentation
on:
push:
paths-ignore:
- 'docs/**'
- '.github/**'
tags-ignore:
- '*'
branches:
- development
- dev
- refactor/meta-and-networking/*
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v1
-
name: Install Lua
uses: leafo/[email protected]
-
name: Install Luarocks
uses: leafo/[email protected]
-
name: Install Dependencies
run: |
luarocks install luafilesystem
luarocks install penlight
luarocks install markdown
luarocks install argparse
luarocks install ldoc
-
name: Build
run: ldoc -M -c ./config.ld -t 'Photon Lighting Documentation' -d ./docs ./lua
-
name: Changes
id: changes
run: chmod +x .github/new-docs.sh && .github/new-docs.sh
-
name: Upload
uses: actions/[email protected]
with:
name: docs
path: ./docs
-
name: Commit
uses: EndBug/[email protected]
if: steps.changes.outputs.status == 'change'
with:
author_name: Documentation Generator
author_email: [email protected]
message: "Updated Documentation"
path: "./docs"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}