-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (42 loc) · 1.59 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Deploy GitHub wiki
description: 📖 GitHub Action to publish files to a GitHub wiki
branding:
icon: upload-cloud
color: blue
inputs:
github-server-url:
description:
The base URL for the GitHub instance that you are trying to clone from,
will use environment defaults to fetch from the same instance that the
workflow is running from unless specified. Example URLs are
https://github.com or https://my-ghes-server.example.com. The default is
github.server_url. It's unlikely you need to change this unless you are
deploying across a GHES boundary.
default: ${{ github.server_url }}
repository:
description:
The repository slug to use as the base project target of the wiki. The
contents will be deployed to this repository's wiki tab, not the
repository itself. Use this if you are pushing contents across the
repository boundary. Defaults to the current repository from
github.repository.
default: ${{ github.repository }}
token:
description:
Set this if you are pushing to a different repository. This token will
need write permissions. The default is github.token.
default: ${{ github.token }}
path:
description:
Path of the directory containing the wiki files to be deployed. Defaults
to the wiki/ folder.
default: wiki
outputs:
wiki-url:
description:
The URL of the published GitHub wiki homepage. Usually something like
https://github.com/octocat/project/wiki.
value: ${{ steps.main.outputs.wiki-url }}
runs:
using: node20
main: _main.mjs #=> main.sh