mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-07 20:03:23 +00:00
* add custom_html_url parameter * Update action.yml * Update README.md * Update test.yml * fix: fixed embedMsg url property --------- Co-authored-by: SethCohen <47002293+SethCohen@users.noreply.github.com>
26 lines
938 B
YAML
26 lines
938 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 }}
|
|
custom_html_url: ${{ inputs.CUSTOM_HTML_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 }}
|
|
remove_github_reference_links: ${{ inputs.REMOVE_GITHUB_REFERENCE_LINKS }}
|