mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-07 20:03:23 +00:00
24 lines
806 B
YAML
24 lines
806 B
YAML
on:
|
|
release:
|
|
types: [published]
|
|
name: test-action
|
|
jobs:
|
|
github-releases-to-discord:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Github Releases To Discord
|
|
uses: ./ # Uses an action in the root directory
|
|
with:
|
|
webhook_url: ${{ inputs.WEBHOOK_URL }}
|
|
color: ${{ inputs.COLOR }}
|
|
username: ${{ inputs.USERNAME }}
|
|
avatar_url: ${{ inputs.AVATAR_URL }}
|
|
content: ${{ inputs.CONTENT }}
|
|
footer_title: ${{ inputs.FOOTER_TITLE }}
|
|
footer_icon_url: ${{ inputs.FOOTER_ICON_URL }}
|
|
footer_timestamp: ${{ inputs.FOOTER_TIMESTAMP }}
|
|
max_description: ${{ inputs.MAX_DESCRIPTION }}
|
|
reduce_headings: ${{ inputs.REDUCE_HEADINGS }}
|
|
|