-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 858 Bytes
/
doc.yml
File metadata and controls
31 lines (31 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# # Based on https://gist.github.com/domenic/ec8b0fc8ab45f39403dd
# name: Build Docs
# on:
# pull_request:
# branches:
# - master
# push:
# branches:
# - master
# jobs:
# build:
# name: Build docs
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup Lua
# uses: leafo/gh-actions-lua@v8
# with:
# luaVersion: 5.4
# - name: Setup Lua Rocks
# uses: leafo/gh-actions-luarocks@v4
# - name: Setup dependencies
# run: luarocks install --only-deps ldoc-dev-1.rockspec
# - name: Build docs
# run: make doc-site
# - name: Deploy
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}