From 9a6c8f511653c65c4d47778274712ffdb34a7888 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Thu, 7 Nov 2024 09:15:24 +0100 Subject: [PATCH] try to auto publish to website --- .gitea/workflows/publish.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index bff4565..7e35e2a 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -22,3 +22,5 @@ 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 ${DEPLOY_PRIVATE_KEY} > /tmp/ssh_key + scp -i /tmp/ssh_key ${UPLOAD_FILE} jlusiardi@april2023.lusiardi.de:/var/www/p17.lusiardi.de/el_diabolo \ No newline at end of file