forked from WintorXR/sphinx-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (32 loc) · 886 Bytes
/
action.yml
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
32
33
name: 'Sphinx Build'
description: 'Builds documentation using Sphinx'
author: 'Wouter Kayser'
branding:
icon: 'book'
color: 'yellow'
inputs:
docs-folder:
description:
The folder containing your sphinx docs.
required: false
default: "docs/"
build-command:
description:
The command used to build your documentation.
required: false
default: make html
pre-build-command:
description:
Run before the build command, you can use this to install system level
dependencies, for example with
"apt-get update -y && apt-get install -y perl"
required: false
runs:
using: "composite"
steps:
- run: ${{ github.action_path }}/entrypoint.py
shell: bash
env:
DOCS_FOLDER: ${{inputs.docs-folder}}
BUILD_COMMAND: ${{inputs.build-command}}
PRE_BUILD_COMMAND: ${{inputs.pre-build-command}}