mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 04:13:58 -04: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
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Lua
|
||||
uses: leafo/gh-actions-lua@v8
|
||||
with:
|
||||
luaVersion: 5.4
|
||||
|
||||
- name: Setup Lua Rocks
|
||||
- name: Install Luarocks
|
||||
uses: leafo/gh-actions-luarocks@v4
|
||||
|
||||
- name: Setup dependencies
|
||||
run: luarocks install --only-deps https://raw.githubusercontent.com/lunarmodules/LDoc/master/ldoc-scm-3.rockspec
|
||||
- name: Install LDoc
|
||||
run: luarocks install ldoc
|
||||
|
||||
- name: Show
|
||||
run: luarocks show ldoc
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v2
|
||||
- name: Build docs
|
||||
run: lua ldoc.lua .
|
||||
|
||||
- name: Checkout & build docs
|
||||
run: git clone https://github.com/lunarmodules/LDoc.git ldoc && .lua/bin/lua ldoc/ldoc.lua .
|
||||
|
||||
# - name: Deploy
|
||||
# uses: peaceiris/actions-gh-pages@v3
|
||||
# with:
|
||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# publish_dir: ldoc/doc_builds/
|
||||
# - 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