Skip to content

Commit

Permalink
Merge pull request #14 from Undorn/ashlands-vanilla-modpack
Browse files Browse the repository at this point in the history
Update Publish workflow to only send discord hook if release went well
  • Loading branch information
fclante authored May 19, 2024
2 parents b25416e + d4cbfb1 commit 9cee0a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
secrets: inherit

notify-discord:
if: success()
needs: main
if: needs.main.result == 'success'
name: Notify Discord
runs-on: ubuntu-latest

steps:
- name: Notify Discord
- name: Notify Discord
uses: tsickert/[email protected]
with:
embed-title: "Modpack Update"
Expand Down

0 comments on commit 9cee0a2

Please sign in to comment.