Skip to content

Commit f747128

Browse files
committed
removed logs
1 parent 2ae8873 commit f747128

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,18 @@ jobs:
2121
run: |
2222
set -e
2323
export latestVersion=$(curl -s https://api.github.com/repos/kube-HPC/hkubectl/releases/latest | jq -r .tag_name)
24-
echo "Latest version: $latestVersion"
25-
mkdir -p site/hkubectl_files || { echo "Failed to create directory"; exit 1; }
24+
mkdir -p site/hkubectl_files
2625
curl -L --retry 3 --retry-delay 5 https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-linux -o site/hkubectl_files/hkubectl-linux
2726
curl -L --retry 3 --retry-delay 5 https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-macos -o site/hkubectl_files/hkubectl-macos
2827
curl -L --retry 3 --retry-delay 5 https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-win.exe -o site/hkubectl_files/hkubectl-win.exe
29-
echo "Downloaded files:"
30-
ls -R site
3128
3229
- name: Commit and push updated files to kube-HPC.github.io
3330
run: |
3431
set -e
3532
git config --global user.email "[email protected]"
3633
git config --global user.name "GitHub Action"
37-
ls site/hkubectl_files || { echo "No files found"; exit 1; }
38-
git fetch origin
3934
git checkout test_branch_1 || git checkout -b test_branch_1 origin/test_branch_1
4035
git add -A
41-
git commit -m "Update hkubectl download files to the latest release" --allow-empty
36+
git commit -m "Update hkubectl download files to the latest release"
4237
git push origin test_branch_1
4338

0 commit comments

Comments
 (0)