-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
69 lines (69 loc) · 1.55 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: 'update siteleaf'
description: |
update the index file of your project's siteleaf project with your repository's README.md file
branding:
icon: 'copy'
color: 'green'
inputs:
api-key:
description: |
the API key that grants access to the repository's siteleaf project
required: true
default: ''
format: '*'
sensitive: true
arg: 'api-key'
env: 'SITELEAF_API_KEY'
api-secret:
description: |
the API secret that grants access to the repository's siteleaf project
required: true
default: ''
format: '*'
sensitive: true
arg: 'api-secret'
env: 'SITELEAF_API_SECRET'
site:
description: |
the id of the siteleaf site to be updated
required: true
default: ''
format: 'String'
arg: 'site'
env: 'SITELEAF_SITE'
page:
description: |
the target page of the siteleaf site to be updated
required: false
default: 'index'
format: 'String'
arg: 'page'
env: 'SITELEAF_PAGE'
file:
description: |
the path to the local Markdown file to push
required: false
default: 'README.md'
format: 'String'
arg: 'file'
env: 'SITELEAF_MD_SOURCE'
publish:
description: |
allows publishing the site after its update
required: false
default: false
format: 'Boolean'
arg: 'publish'
help:
description: |
print a help message
required: false
default: false
format: 'Boolean'
arg: 'help'
outputs:
name:
description: 'the siteleaf page name'
runs:
using: 'node12'
main: 'dist/index.js'