From 4259e96c904d4ec33df579b77f9d1cab7b6932f4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 26 Nov 2024 14:53:17 +0000 Subject: [PATCH] Fix current version checking function Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a251e65509..b0cbaef403 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -41,7 +41,7 @@ jobs: - name: Check current version on deployment id: current_version run: | - echo "version=$(curl -s https://$SITE/version)" >> $GITHUB_OUTPUT + echo "version=v$(curl -s https://$SITE/version)" >> $GITHUB_OUTPUT # The current version bundle melding dance is skipped if the version we're deploying is the same # as then we're just doing a re-deploy of the same version with potentially different configs. @@ -50,7 +50,7 @@ jobs: if: steps.current_version.outputs.version != github.ref_name uses: ./.github/actions/download-verify-element-tarball with: - tag: steps.current_version.outputs.version + tag: ${{ steps.current_version.outputs.version }} out-file-path: _current_version - name: Download target version