From 13dded8f200c853b6346c222769fb70e15ab0098 Mon Sep 17 00:00:00 2001 From: morbalint Date: Sat, 16 Mar 2024 13:43:08 +0100 Subject: [PATCH] ci: fix backend deployment bash exit syntax --- .github/workflows/deploy-backend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-backend.yml b/.github/workflows/deploy-backend.yml index c1a318b..4225098 100644 --- a/.github/workflows/deploy-backend.yml +++ b/.github/workflows/deploy-backend.yml @@ -22,15 +22,15 @@ jobs: if [ -n "${{ inputs.backend_image }}" ]; then echo "Image from INPUT" echo "IMAGE=${{ inputs.backend_image }}" >> $GITHUB_ENV - return 0; + exit 0; fi if [ -n "${{ steps.get_beta_image.outputs.result }}" ]; then echo "Image from BETA" echo "IMAGE=${{ steps.get_beta_image.outputs.result }}" >> $GITHUB_ENV - return 0; + exit 0; fi echo "Image NOT SET !!!"; - return 1; + exit 1; - run: echo "deployment image will be set to ${{ env.IMAGE }}" - uses: mikefarah/yq@v4 with: