Skip to content

Post Release

Post Release #6

Workflow file for this run

name: "Post Publish Release"
on:
workflow_run:
workflows: ["Publish Release"]
types:
- completed
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
follow-up:
runs-on: ubuntu-latest
steps:
- name: Check if previous workflow was successful
if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success' }}
run: exit 1
discord:
needs: follow-up
runs-on: ubuntu-latest
name: Sends Release To Discord
steps:
- name: Discord notification
uses: LeGitHubDeTai/github-to-discord@main
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_USERNAME: Seelen
DISCORD_AVATAR: https://raw.githubusercontent.com/eythaann/Seelen-UI/master/documentation/images/logo_with_margins.png
AUTHOR_NAME: eythaann
AUTHOR_URL: "https://github.com/eythaann"
AUTHOR_AVATAR: "https://avatars.githubusercontent.com/u/76607907?v=4"
MESSAGE_TITLE: Seelen UI
MESSAGE_DESCRIPTION: A new release of Seelen UI has been published
MESSAGE_COLOR: 5814783
SECTION_NAME: "ChangeLog"
FOOTER_TEXT: "Seelen Inc."
FOOTER_URL: ""