ci / test (pull_request) Successful in 1m46s
Stable releases are announced in the forum's Releases category and pre-releases in Release Candidates (muted, kept out of Latest), instead of Announcements.
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@ba4cde7c3b47cc9f93c0080da8ba838a1ef1845b
|
|
with:
|
|
api-key: ${{ secrets.DISCOURSE_RELEASE_KEY }}
|
|
discord-webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
|