From c2e4633b6c25a83af11c3a8f3e4589acd4227b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Tue, 21 Nov 2023 20:36:43 +0100 Subject: [PATCH] fix(cicd): bad exit codes --- .gitea/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f220851..f2d5a39 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,8 +21,7 @@ jobs: docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-) echo $docker_tag echo "docker_tag=${docker_tag}" >> GITHUB_OUTPUT - if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; fi - shell: bash + if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; else exit 0; fi shell: bash - name: Remove temporary files if: steps.check-existing.conclusion == 'success'