setup-lisp/.github/actions/build-docs/action.yml

35 lines
840 B
YAML
Raw Normal View History

2021-02-06 09:41:50 +00:00
name: 'Build Docs'
inputs:
asdf-system:
description: 'ASDF system to build system for'
required: true
qlfile-template:
description: "Djula template for qlfile. All environment variables are available in it's context"
required: false
runs:
using: composite
steps:
2021-02-06 09:59:05 +00:00
- name: Install Documentation Builder
shell: bash
run: |
echo ::group::Install Documentation Builder
2021-02-06 13:16:02 +00:00
echo 'github docs-builder 40ants/docs-builder' >> qlfile
qlot update
qlot exec ros install docs-builder
2021-02-06 09:59:05 +00:00
echo ::endgroup::
2021-02-06 13:41:32 +00:00
- name: Upload Docs
shell: bash
run: |
2021-02-06 18:08:18 +00:00
set -Eeuo pipefail
2021-02-06 13:50:31 +00:00
echo ::group::Upload Docs
2021-02-06 21:36:51 +00:00
${{ github.action_path }}/upload.ros "$(cat output.dir)"
2021-02-06 13:50:31 +00:00
echo ::endgroup::
2021-02-06 21:21:24 +00:00
env:
GITHUB_TOKEN: ${{ github.token }}