forked from sma11black/hexo-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (38 loc) · 1016 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
35
36
37
38
name: 'Hexo Gulp Action'
description: 'Hexo CI/CD action for automating deployment with Gulp Support.'
author: 'alterhu2020'
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: ''
gulp:
description: 'Run gulp command or not. true or false'
required: false
default: 'false'
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'