File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,14 @@ jobs:
3030 git config --global user.name "GitHub App"
3131 git config --global user.email "[email protected] " 3232
33- git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
34-
3533 git fetch origin
3634
37- if git show-ref --quiet refs/remotes/origin/release; then
38- git checkout release
35+ if git ls-remote --exit-code --heads origin release; then
36+ git fetch origin release
37+ git checkout -b release origin/release
3938 git merge --no-edit origin/main
4039 else
4140 git checkout -b release origin/main
4241 fi
4342
44- if git diff --quiet origin/release; then
45- echo "No changes to push."
46- else
47- git push origin release
48- fi
43+ git push "https://x-access-token:${GITHUB_TOKEN}@github.com/vue-pivottable/vue3-pivottable.git" release
You can’t perform that action at this time.
0 commit comments