From 4742ece04ec923273cf09ae98fc65b90afed265a Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 11 Mar 2022 16:36:57 +0000 Subject: [PATCH] Repo url in deploy stage --- .github/workflows/production_pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/production_pipeline.yml b/.github/workflows/production_pipeline.yml index b6b80f98c..80258dff7 100644 --- a/.github/workflows/production_pipeline.yml +++ b/.github/workflows/production_pipeline.yml @@ -142,7 +142,7 @@ jobs: - name: Get latest release with tag id: latestrelease run: | - echo "::set-output name=releasetag::$(curl -s https://api.github.com/repos/communitiesuk/mhclg-data-collection-beta/releases/latest | jq '.tag_name' | sed 's/\"//g')" + echo "::set-output name=releasetag::$(curl -s https://api.github.com/repos/${REPO_URL}/releases/latest | jq '.tag_name' | sed 's/\"//g')" - name: Confirm release tag run: | echo ${{ steps.latestrelease.outputs.releasetag }}