ScreenToGif 2.40 #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |