Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
afec455c18
|
@ -39,10 +39,10 @@ runs:
|
||||
|
||||
- name: push to latest branch
|
||||
run: |
|
||||
if ! git ls-remote --exit-code --heads origin latest; then
|
||||
git checkout -b latest
|
||||
git push origin latest
|
||||
else
|
||||
if git ls-remote --exit-code --heads origin latest; then
|
||||
git switch latest
|
||||
git merge latest
|
||||
else
|
||||
git checkout -b latest
|
||||
git push origin latest
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user