From c91d57f0492d97e6c25865818ba6d355ba11744e Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Thu, 7 Nov 2024 09:46:15 +0100 Subject: [PATCH] next try --- .gitea/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index c8078a1..92a8b51 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -22,8 +22,8 @@ jobs: ls -al target/debian 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 -e ${ secrets.DEPLOY_PRIVATE_KEY } - echo -e ${ secrets.DEPLOY_PRIVATE_KEY } > /tmp/ssh_key + echo -e "${{ secrets.DEPLOY_PRIVATE_KEY }}" + echo -e "${{ secrets.DEPLOY_PRIVATE_KEY }}" > /tmp/ssh_key chmod 0600 /tmp/ssh_key cat /tmp/ssh_key scp -v -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