Skip to content

Commit 41f4303

Browse files
committed
merge
1 parent cb21c82 commit 41f4303

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/scheduled.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
check:
14-
runs-on: self-hosted-ghr-size-s-x64
14+
runs-on: ubuntu-latest
1515
outputs:
1616
configs: ${{ steps.repo_check.outputs.configs }}
1717
steps:
@@ -272,3 +272,16 @@ jobs:
272272
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
273273
HARBOR_PASSWORD: "${{ secrets.HARBOR_PASSWORD }}"
274274
MACOS_PASSWORD: "${{ secrets.MACOS_PASSWORD }}"
275+
notify:
276+
name: Discord Notification
277+
runs-on: ubuntu-latest
278+
needs:
279+
- check
280+
- deploy
281+
if: cancelled() || failure()
282+
steps:
283+
- name: Notify
284+
uses: nobrayner/discord-webhook@1766a33bf571acdcc0678f00da4fb83aad01ebc7 # v1
285+
with:
286+
github-token: ${{ secrets.github_token }}
287+
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)