Skip to content

Commit

Permalink
Fix upload of build script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEAB committed Jul 27, 2024
1 parent acfa6f0 commit 4a068f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/hcloud-build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ hcloud server ssh "${serverName}" -i "${sshKeyFile}" \
'

# SSH: Upload build-script.
echo "#!/bin/sh
echo '#!/bin/sh'"
sh -exc \"
git clone 'https://github.com/dlang-dockerized/packaging.git' dlang-dockerized
cd dlang-dockerized
Expand All @@ -142,7 +142,8 @@ echo "#!/bin/sh
export HCLOUD_TOKEN='${HCLOUD_TOKEN}'
hcloud delete '${serverName}'
\"" | \
\"
" | \
hcloud server ssh "${serverName}" -i "${sshKeyFile}" \
-T 'cat > ~/build-dlang-dockerized-images.sh'

Expand Down

0 comments on commit 4a068f6

Please sign in to comment.