Skip to content

Commit 8fce30a

Browse files
committed
chore: update discord release workflow
1 parent ea86862 commit 8fce30a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-to-discord.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
name: Release to Discord
22

33
on:
4-
release:
5-
types: [ published ]
4+
workflow_run:
5+
workflows: ["Release"]
6+
types: [completed]
67
workflow_dispatch:
78

89
jobs:
910
github-releases-to-discord:
1011
runs-on: ubuntu-latest
12+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v6

0 commit comments

Comments
 (0)