Skip to content

Commit 2ae8873

Browse files
committed
wip
1 parent 13516a0 commit 2ae8873

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +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
38+
git fetch origin
39+
git checkout test_branch_1 || git checkout -b test_branch_1 origin/test_branch_1
4040
git add -A
4141
git commit -m "Update hkubectl download files to the latest release" --allow-empty
42-
git push --set-upstream origin test_branch_1
42+
git push origin test_branch_1
4343

0 commit comments

Comments
 (0)