mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-12-06 21:24:55 -05:00
Fix documentation page building workflow 7
This commit is contained in:
parent
cdf425d301
commit
6329e09138
1 changed files with 16 additions and 12 deletions
28
.github/workflows/doc.yml
vendored
28
.github/workflows/doc.yml
vendored
|
|
@ -8,25 +8,29 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Lua
|
- name: Setup Lua
|
||||||
uses: leafo/gh-actions-lua@v8
|
uses: leafo/gh-actions-lua@v8
|
||||||
with:
|
with:
|
||||||
luaVersion: 5.4
|
luaVersion: 5.4
|
||||||
|
|
||||||
- name: Setup Lua Rocks
|
- name: Install Luarocks
|
||||||
uses: leafo/gh-actions-luarocks@v4
|
uses: leafo/gh-actions-luarocks@v4
|
||||||
|
|
||||||
- name: Setup dependencies
|
- name: Install LDoc
|
||||||
run: luarocks install --only-deps https://raw.githubusercontent.com/lunarmodules/LDoc/master/ldoc-scm-3.rockspec
|
run: luarocks install ldoc
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Show
|
||||||
uses: actions/checkout@v2
|
run: luarocks show ldoc
|
||||||
|
|
||||||
- name: Checkout & build docs
|
- name: Build docs
|
||||||
run: git clone https://github.com/lunarmodules/LDoc.git ldoc && .lua/bin/lua ldoc/ldoc.lua .
|
run: lua ldoc.lua .
|
||||||
|
|
||||||
# - name: Deploy
|
|
||||||
# uses: peaceiris/actions-gh-pages@v3
|
# - name: Deploy
|
||||||
# with:
|
# uses: JamesIves/github-pages-deploy-action@4.1.5
|
||||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
# with:
|
||||||
# publish_dir: ldoc/doc_builds/
|
# branch: gh-pages
|
||||||
|
# folder: docs
|
||||||
Loading…
Add table
Add a link
Reference in a new issue