action-discord-md-publish/action.yml

23 lines
532 B
YAML
Raw Normal View History

2024-02-20 08:26:57 +01:00
name: "Publish markdown to Discord"
description: "Send markdown file to Discord as message using webhook"
inputs:
file:
description: "Which file to send"
required: true
webhook:
description: "Discord webhook url to use"
required: true
storageMethod:
description: |-
Method of storing old message ids to delete
one of:
- none - doesn't store ids of sent messages
- git - stores ids in git repository
default: none
required: true
runs:
using: node20
main: dist/index.js