mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
Remove local 'latest' branch as well
This commit is contained in:
parent
95c255e499
commit
f379a9b97e
1 changed files with 3 additions and 1 deletions
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
|
|
@ -38,7 +38,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Remove branch 'latest'
|
- name: Remove branch 'latest'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: git push origin :latest
|
run: |
|
||||||
|
git branch -d latest || true
|
||||||
|
git push origin :latest
|
||||||
- name: Create the new 'latest' branch
|
- name: Create the new 'latest' branch
|
||||||
run: |
|
run: |
|
||||||
git branch latest
|
git branch latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue