here it is
build-develop-branch / build-branch (push) Has been skipped Details
convert-to-yml / develop-branch (push) Successful in 40s Details

This commit is contained in:
giles 2023-10-22 17:11:32 +01:00
parent 3f42a4e076
commit 7a9c217818
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ jobs:
run: | run: |
firstString=${{ github.head_ref }} firstString=${{ github.head_ref }}
secondString="build-" secondString="build-"
echo ::set-env name=BUILD_BRANCH::${firstString/format-/"$secondString"} echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
- name: delete build branch - name: delete build branch
run: git push origin --delete ${{ env.BUILD_BRANCH }} run: git push origin --delete ${{ env.BUILD_BRANCH }}