Skip to content

ScreenToGif 2.41

ScreenToGif 2.41 #26

# This is a basic workflow to help you get started with Actions
name: Discord • Releases
# Controls when the action will run.
on:
# Triggers the workflow on new release.
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "released"
released:
# The type of runner that the job will run on
runs-on: ubuntu-latest
name: Sends release details to Discord/News channel
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Sending release notes
# Checks-out a repository, to send the release notes
uses: nhevia/discord-styled-releases@main
# Gets the ID and Token from the project secrets
with:
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}