mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Use git checkout
This commit is contained in:
parent
fdf062fc1c
commit
a93a9a308d
@ -2,7 +2,7 @@
|
|||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# Switch to branch from current Workflow run
|
# Switch to branch from current Workflow run
|
||||||
git switch "${GITHUB_REF:11}"
|
git checkout "${GITHUB_REF:11}"
|
||||||
|
|
||||||
# Set origin URL
|
# Set origin URL
|
||||||
git remote set-url origin https://$TOKEN:x-oauth-basic@github.com/$GITHUB_REPOSITORY
|
git remote set-url origin https://$TOKEN:x-oauth-basic@github.com/$GITHUB_REPOSITORY
|
||||||
|
Loading…
Reference in New Issue
Block a user