Skip to content

Commit

Permalink
Fix git ls-remote command when running sg-bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Sep 13, 2024
1 parent e0e07aa commit a61230a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit a61230a

Please sign in to comment.