From 8a38995b904c01b600ca17af6666a6afc4bb4022 Mon Sep 17 00:00:00 2001 From: Natsu Date: Wed, 19 Jun 2024 04:08:11 +0700 Subject: [PATCH] chore: Update dispatch configuration --- .github/workflows/dispatch.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index f7b4fbc9..699a837a 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -26,15 +26,6 @@ jobs: id: resource-validate run: python ./scripts/resource_validator.py ./local-files/resource - - name: Send Notification to Discord - uses: sarisia/actions-status-discord@v1 - if: always() - with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - status: ${{ job.status }} - title: "Validate" - url: "https://github.com/NatsumeLS/Gakumas-Translation-Data-EN/actions/runs/${{ job.container.id }}" - dispatch: runs-on: ubuntu-latest @@ -48,3 +39,11 @@ jobs: token: ${{ secrets.PAT }} repository: NatsumeLS/Gakumas-Localify-EN event-type: update-submodule + + - name: Send Notification to Discord + uses: sarisia/actions-status-discord@v1 + if: always() + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + status: ${{ job.status }} + title: "Dispatch"