-
Notifications
You must be signed in to change notification settings - Fork 74
/
action.yml
34 lines (34 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
34
name: 'Hexo Action'
description: 'Hexo CI/CD action for automating deployment.'
author: 'sma11black'
inputs:
user_name:
description: 'Github user name'
required: true
default: 'github-actions[bot]'
user_email:
description: 'Github email'
required: true
default: '41898282+github-actions[bot]@users.noreply.github.com'
deploy_key:
description: 'The deploy key for Github Pages repo'
required: true
default: ''
commit_msg:
description: 'Git commit messages to your GitHub Pages repository.'
required: false
default: ''
outputs:
notify: # id of output
description: 'The notification of deployment result'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.user_name }}
- ${{ inputs.user_email }}
- ${{ inputs.deploy_key }}
- ${{ inputs.commit_msg }}
branding:
icon: 'package'
color: 'blue'