diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 81ae99d8..602cf6dd 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -62,8 +62,8 @@ jobs: id: bridge_branch continue-on-error: true run: | - echo "${GITHUB_REF#refs/heads/}" - git ls-remote --exit-code --heads https://github.com/infrawatch/sg-bridge.git "$(echo ${GITHUB_REF#refs/heads/})" + echo "${refs/heads/GITHUB_REF}" + git ls-remote --exit-code --heads https://github.com/infrawatch/sg-bridge.git "$(echo ${refs/heads/GITHUB_REF})" - name: Start sg-bridge from container image if: steps.bridge_branch.outcome != 'success' run: | @@ -158,8 +158,8 @@ jobs: id: bridge_branch continue-on-error: true run: | - echo "${GITHUB_REF#refs/heads/}" - git ls-remote --exit-code --heads https://github.com/infrawatch/sg-bridge.git "$(echo ${GITHUB_REF#refs/heads/})" + echo "${refs/heads/GITHUB_REF}" + git ls-remote --exit-code --heads https://github.com/infrawatch/sg-bridge.git "$(echo ${refs/heads/GITHUB_REF})" - name: Start sg-bridge from container image if: steps.bridge_branch.outcome != 'success' run: | @@ -323,8 +323,8 @@ jobs: id: bridge_branch continue-on-error: true run: | - echo "${GITHUB_REF#refs/heads/}" - git ls-remote --exit-code --heads https://github.com/infrawatch/sg-bridge.git "$(echo ${GITHUB_REF#refs/heads/})" + echo "${refs/heads/GITHUB_REF}" + git ls-remote --exit-code --heads https://github.com/infrawatch/sg-bridge.git "$(echo ${refs/heads/GITHUB_REF})" - name: Start sg-bridge from container image if: steps.bridge_branch.outcome != 'success' run: |