We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b9353f commit 5558b59Copy full SHA for 5558b59
.github/workflows/gh_delete_branch.yml
@@ -29,7 +29,7 @@ jobs:
29
inlineScript: |
30
az acr repository delete \
31
--name ${{ env.AZURE_CONTAINER_REGISTRY }} \
32
- --image ${{ github.event.repository.name }}:${{ matrix.platform}}-${{ github.ref_name }} \
+ --image ${{ github.event.repository.name }}:${{ matrix.platform}}-${{ github.head_ref }} \
33
--yes
34
35
gh-delete-branch:
@@ -46,7 +46,6 @@ jobs:
46
GITHUB_CONTEXT: ${{ toJSON(github) }}
47
run: echo "$GITHUB_CONTEXT"
48
49
- # - name: Delete Branch
50
- # shell: bash
51
- # run: git push origin --delete ${{ github.ref_name }}
52
-
+ - name: Delete Branch
+ shell: bash
+ run: git push origin --delete ${{ github.head_ref }}
0 commit comments