From 252c1c244d95220791fed0b80972bd15bb2baa73 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Thu, 7 Nov 2024 09:24:19 +0100 Subject: [PATCH] make key secure in container --- .gitea/workflows/publish.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index f0d447e..b6ac32f 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -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 \ No newline at end of file