forked from sphinx-notes/pages
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (31 loc) · 1.04 KB
/
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
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'Sphinx to GitHub Pages'
description: 'GitHub Action to deploy Sphinx documentation to GitHub Pages'
author: 'Shengyu Zhang'
branding:
color: 'green'
icon: 'upload-cloud'
inputs:
target_branch:
description: 'Git branch where assets will be deployed'
required: false
default: 'gh-pages'
repository_path:
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
required: false
default: '.'
documentation_path:
description: 'Relative path under repository to documentation source files'
required: false
default: '.'
install_requirements:
description: 'Install Sphinx extensions listed in $documentation_path/requirements.txt'
required: false
default: 'true'
extra_files:
description: '[DEPREDATED, use sphinx configuration html_extra_path instead] Extras files(such as README, LICENSE) to be commited to $target_branch'
required: false
default: ''
runs:
using: 'node12'
main: 'main.js'