Skip to content

Commit 4234eb1

Browse files
committed
wip
1 parent 9e51ad7 commit 4234eb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-hkubectl-downloads.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
git config --global user.email "[email protected]"
3636
git config --global user.name "GitHub Action"
3737
ls site/hkubectl_files || { echo "No files found"; exit 1; }
38+
# Ensure we are on the correct branch
39+
git checkout -b hkubectl_updates_via_workflow || git checkout hkubectl_updates_via_workflow
3840
git add -A
3941
git commit -m "Update hkubectl download files to the latest release" --allow-empty
40-
git push origin hkubectl_updates_via_workflow
42+
git push --set-upstream origin hkubectl_updates_via_workflow
4143

0 commit comments

Comments
 (0)