-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
33 lines (33 loc) · 839 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
name: 'Upload to GitHub'
author: 'LasyIsLazy'
description: 'Upload file to your GitHub repository with Node.js'
branding:
icon: 'upload'
color: 'white'
inputs:
access-token:
description: 'Token access to repository'
required: true
file-path:
description: 'Local file path/directory'
required: true
owner:
description: 'Repository owner'
required: true
repo:
description: 'Repository name'
required: true
branch-name:
description: 'Branch name to upload the file to'
required: true
remote-dir:
description: 'Remote repository file path/directory, default: The root of repository'
required: false
default: ''
commit-message:
description: 'Git commit message, default: "upload"'
required: false
default: 'upload'
runs:
using: 'node16'
main: 'index.js'