diff --git a/.github/workflows/post_release.yml b/.github/workflows/post_release.yml index 07413c69..a08e031c 100644 --- a/.github/workflows/post_release.yml +++ b/.github/workflows/post_release.yml @@ -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: