-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
36 lines (36 loc) · 815 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
name: 'Discord Webhook Upload'
description: 'Send a file to discord webhook'
inputs:
url: # id of input
description: 'Webhook url'
required: true
default: ''
username:
description: 'Webhook username'
required: false
default: 'Username'
avatar:
description: 'Avatar url'
required: false
default: ''
file:
description: 'File to send'
required: true
default: ''
message:
description: 'Message to send'
required: false
default: |
New dev build:
%COMMITS%
commit:
description: 'Per-commit message'
required: false
default: '> [%MESSAGE%](<%LINK%>) by [%AUTHOR%](<%AUTHOR_LINK%>)'
link:
description: 'Link message'
required: false
default: 'Get it [here](%URL%)'
runs:
using: 'node20'
main: 'dist/index.js'