Picks up the duplicate-announcement fix (coffey-labs/actions #5): a release already posted to the forum, which Discourse refuses with "External has already been taken", now counts as announced instead of failing the job. The action's inputs are unchanged.
18 lines
561 B
YAML
18 lines
561 B
YAML
# Announce each published release on the community forum, in this project's
|
|
# Announcements category (coffey-labs/actions discourse-release; the repo ->
|
|
# category map is its release-map.json). Safe to re-run: one topic per tag.
|
|
name: announce
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
announce:
|
|
runs-on: light
|
|
steps:
|
|
- uses: coffey-labs/actions/discourse-release@fd5fc9fb7da5f13d055f18b4bd5234c5fe5230d1
|
|
with:
|
|
api-key: ${{ secrets.DISCOURSE_RELEASE_KEY }}
|
|
discord-webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
|