make key secure in container

This commit is contained in:
Joachim Lusiardi 2024-11-07 09:24:19 +01:00
parent ef3a6026f5
commit 252c1c244d

View File

@ -23,4 +23,5 @@ jobs:
UPLOAD_FILE=$(ls target/debian/*.deb)
curl --user jlusiardi:${{ secrets.UPLOAD_TOKEN }} --upload-file ${UPLOAD_FILE} https://gitea.intern.haus-in-hirschaid.de/api/packages/jlusiardi/debian/pool/bionic/main/upload
echo ${DEPLOY_PRIVATE_KEY} > /tmp/ssh_key
chmod 0600 /tmp/ssh_key
scp -o StrictHostKeyChecking=no -i /tmp/ssh_key ${UPLOAD_FILE} jlusiardi@april2023.lusiardi.de:/var/www/p17.lusiardi.de/el_diabolo