Producing rockspec 1.3-1 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: push | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: install python dependencies | |
run: | |
pip install git+https://github.com/SovietKitsune/py-lua-doc | |
pip install mkdocs | |
pip install mkdocs-material | |
- uses: leafo/[email protected] | |
with: | |
luaVersion: "luajit-2.1.0-beta3" | |
- uses: leafo/[email protected] | |
- name: install lua dependencies | |
run: | | |
cd ./doc-gen/ && luarocks make docsdemo-dev-1.rockspec | |
- name: build docs | |
run: | | |
luadoc ./luabox > docs.json | |
py-lua-doc | |
mkdocs build | |
- uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: site | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |