From ada07e76d6166f2881f4303d6d5635309cbcd8d7 Mon Sep 17 00:00:00 2001 From: aliaksandrryzhou Date: Tue, 30 Apr 2024 16:43:12 +0300 Subject: [PATCH] feat(ci): Condition fix --- .github/workflows/rollback.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rollback.yml b/.github/workflows/rollback.yml index 8ac0f4f4bac..7b4b7fd068f 100644 --- a/.github/workflows/rollback.yml +++ b/.github/workflows/rollback.yml @@ -268,7 +268,7 @@ jobs: echo "previous_deploy_id=$previous_deploy_id" >> $GITHUB_ENV - name: Determine Previous Deploy ID - if: env.previous_deploy_id != null && contains(fromJson('["Commit Hash"]'), github.event.inputs.mode) + if: contains(fromJson('["Commit Hash"]'), github.event.inputs.mode) env: NETLIFY_SITE_ID: ${{ env.netlify_site_id }} COMMIT_REF: ${{ steps.commit.outputs.hash }}