From f145d9c062cc12a3b007d92611565b16aaa177a6 Mon Sep 17 00:00:00 2001 From: ctmbl Date: Thu, 21 Mar 2024 22:50:20 +0100 Subject: [PATCH] Skip notify job when event is workflow_dispatch: unsupported --- .github/workflows/build_and_deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 25ceec3..acd0ee6 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -73,8 +73,10 @@ jobs: rsync --archive --stats --verbose --delete ./build/blog/* ${{ secrets.CI_USER_NAME }}@iscsc.fr:${{ secrets.STATIC_WEBSITE_PATH}} # Finally notify of the new article (if any) on the iScsc discord server + # action jitterbit/get-changed-files@v1 doesn't support 'workflow_dispatch' events: https://github.com/jitterbit/get-changed-files/issues/38 notify: needs: [deploy] + if: ${{ github.event_name != 'workflow_dispatch' }} runs-on: ubuntu-latest steps: # Checkout repo, no need to checkout submodule