Skip to content

Commit

Permalink
Update Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Jun 23, 2024
1 parent 4d58d15 commit 83e95a7
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/post_release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
name: "Post Published Release"
name: "Post Publish Release"

on:
release:
types: [published]
branches: [ "master" ]
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.workflow_run.conclusion != 'success' }}
run: exit 1

discord:
needs: follow-up
runs-on: ubuntu-latest
name: Sends Release To Discord
steps:
Expand Down

0 comments on commit 83e95a7

Please sign in to comment.