make key secure in container
This commit is contained in:
parent
ef3a6026f5
commit
252c1c244d
|
@ -23,4 +23,5 @@ jobs:
|
||||||
UPLOAD_FILE=$(ls target/debian/*.deb)
|
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
|
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
|
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
|
scp -o StrictHostKeyChecking=no -i /tmp/ssh_key ${UPLOAD_FILE} jlusiardi@april2023.lusiardi.de:/var/www/p17.lusiardi.de/el_diabolo
|
Loading…
Reference in New Issue