From b324d75583efab775d68141567ca2ddf7bcb75c8 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Thu, 17 Oct 2024 23:46:56 -0400 Subject: [PATCH] ci: Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 877e7dc95..4eb03f460 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -275,7 +275,7 @@ jobs: gh repo clone ietf-tools/datatracker -- --depth=1 --no-tags cd datatracker - if [ "$SHOULD_DEPLOY" = false ] || [ "$GITHUB_REF_NAME" = release ] ; then + if [ "$SHOULD_DEPLOY" = "false" ] || [ "$GITHUB_REF_NAME" = "release" ] ; then echo "==========================================================================" echo "Downloading coverage..." echo "==========================================================================" @@ -299,7 +299,7 @@ jobs: sed -i -r -e "s|^__release_hash__ += '.*'$|__release_hash__ = '$GITHUB_SHA'|" ietf/__init__.py sed -i -r -e "s|^__release_branch__ += '.*'$|__release_branch__ = '$GITHUB_REF_NAME'|" ietf/__init__.py - if [ "$SHOULD_DEPLOY" = true ] ; then + if [ "$SHOULD_DEPLOY" = "true" ] ; then echo "==========================================================================" echo "Setting production flags in settings.py..." echo "=========================================================================="