Skip to content

Commit

Permalink
Update build.yml to use temporary key for SCP uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
fydepanda committed Nov 26, 2024
1 parent 2a3371d commit a84d693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
chmod 600 /tmp/key
for i in $(ls ./out/Debian*.img.xz); do
echo "Uploading $i"
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $KEY $i $HOST:/home/fydeadmin/download.fydeos.io/fydetabduo/other_os/
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /tmp/key $i $HOST:/home/fydeadmin/download.fydeos.io/fydetabduo/other_os/
done
for i in $(ls ./out/Arch*.img.xz); do
echo "Uploading $i"
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $KEY $i $HOST:/home/fydeadmin/download.fydeos.io/fydetabduo/other_os/
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /tmp/key $i $HOST:/home/fydeadmin/download.fydeos.io/fydetabduo/other_os/
done
rm /tmp/key
Expand Down

0 comments on commit a84d693

Please sign in to comment.