From 817316eedaf073cd42741b55b56749acc78acba9 Mon Sep 17 00:00:00 2001 From: ctmbl Date: Fri, 17 Nov 2023 17:17:40 +0100 Subject: [PATCH] Separate the notify steps in a different job --- .github/workflows/build_and_deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 9be15fb..481ddb0 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -72,7 +72,15 @@ jobs: run: | 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 + # Finally notify of the new article (if any) on the iScsc discord server + notify: + runs-on: ubuntu-latest + steps: + # Checkout repo, no need to checkout submodule + - name: 🛒 Checkout + uses: actions/checkout@v3 + + # Get the list of added, changed, removed, and renamed files - name: 📑 Get changed files uses: jitterbit/get-changed-files@v1 id: files