From d029f48f799bc9ff7e01c4b85194b58e050f0c5b Mon Sep 17 00:00:00 2001 From: Michon van Dooren Date: Wed, 25 Sep 2024 19:34:52 +0200 Subject: [PATCH] fix: various issues with docker image workflow (#1172) --- .github/workflows/deployment-docker-image.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deployment-docker-image.yml b/.github/workflows/deployment-docker-image.yml index a3bfd26df..35275a8da 100644 --- a/.github/workflows/deployment-docker-image.yml +++ b/.github/workflows/deployment-docker-image.yml @@ -38,7 +38,7 @@ jobs: node-version: [20] steps: - name: Discord notification - if: ${{ github.events.inputs.send-notifications || true }} + if: ${{ github.events.inputs.send-notifications != false }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master @@ -52,7 +52,7 @@ jobs: token: ${{ github.token }} branch: dev - name: Discord notification - if: ${{ github.events.inputs.send-notifications || true }} + if: ${{ github.events.inputs.send-notifications != false }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master @@ -66,7 +66,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Discord notification - if: ${{ github.events.inputs.send-notifications || true }} + if: ${{ github.events.inputs.send-notifications != false }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master @@ -120,14 +120,14 @@ jobs: env: SKIP_ENV_VALIDATION: true - name: Discord notification - if: ${{ github.events.inputs.send-notifications || true && (github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null) }} + if: ${{ github.events.inputs.send-notifications != false && (github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null) }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master with: args: "Deployment of image has completed. Image ID is '${{ steps.buildPushAction.outputs.imageid }}'." - name: Discord notification - if: ${{ github.events.inputs.send-notifications || true && !(github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null) }} + if: ${{ github.events.inputs.send-notifications != false && !(github.events.inputs.push-image == 'true' || github.events.inputs.push-image == null) }} env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master