mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-04 13:23:54 -04:00
Automate Docs building with Github Actions
Author: Justin van der Leij <justinvanderleij@gmail.com> Co-authored-by: : Justin van der Leij <justinvanderleij@gmail.com>
This commit is contained in:
parent
64513ca16b
commit
fa7792e083
1 changed files with 38 additions and 0 deletions
38
.github/workflows/doc.yml
vendored
Normal file
38
.github/workflows/doc.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
name: Build Docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build docs
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Lua
|
||||||
|
uses: leafo/gh-actions-lua@v8
|
||||||
|
with:
|
||||||
|
luaVersion: 5.4
|
||||||
|
|
||||||
|
- name: Install Luarocks
|
||||||
|
uses: leafo/gh-actions-luarocks@v4
|
||||||
|
|
||||||
|
- name: Install LDoc
|
||||||
|
run: luarocks install ldoc
|
||||||
|
|
||||||
|
- name: Show
|
||||||
|
run: luarocks show ldoc
|
||||||
|
|
||||||
|
- name: Build docs
|
||||||
|
run: ldoc .
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
|
uses: JamesIves/github-pages-deploy-action@4.1.5
|
||||||
|
with:
|
||||||
|
branch: gh-pages
|
||||||
|
folder: docs
|
Loading…
Add table
Add a link
Reference in a new issue