-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
52 lines (52 loc) · 1.92 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
47
48
49
50
51
52
name: 'Update Wiki-Website'
description: 'Copies all files from a wiki to a this (usually a GitHub pages) repository. Then moves Home.md to index.md, and creates a custom Home.md that permalinks to /.'
inputs:
wiki-repository:
description: 'Name of the source wiki repository: username/repo.wiki or organization/repo.wiki'
required: true
wiki-branch:
description: '[Optional] Wiki repository branch, defaults to "master"'
default: 'master'
required: false
user-email:
description: 'Email for the git commit'
required: true
user-name:
description: 'User name for the git commit.'
required: true
commit-message:
description: '[Optional] commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin repo'
default: 'Automated wiki-website update'
required: false
destination-repository:
description: '[Optional] Name of the destination repository. Defaults to the this repository'
default: ''
required: false
destination-branch:
description: '[Optional] set target branch name for the destination repository. Defaults to "master" for historical reasons'
default: 'master'
required: false
template-repository:
description: '[Optional] Name of the template repository. Defaults to no template (only copy files from wiki)'
default: ''
required: false
template-branch:
description: '[Optional] set template branch name. Defaults to "master" for historical reasons'
default: 'master'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.wiki-repository }}
- ${{ inputs.wiki-branch }}
- ${{ inputs.user-email }}
- ${{ inputs.user-name }}
- ${{ inputs.commit-message }}
- ${{ inputs.destination-repository }}
- ${{ inputs.destination-branch }}
- ${{ inputs.template-repository }}
- ${{ inputs.template-branch }}
branding:
icon: 'git-commit'
color: 'green'