try to auto publish to website

This commit is contained in:
Joachim Lusiardi 2024-11-07 09:15:24 +01:00
parent d82e0d2d48
commit 9a6c8f5116
1 changed files with 2 additions and 0 deletions

View File

@ -22,3 +22,5 @@ jobs:
ls -al target/debian ls -al target/debian
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
scp -i /tmp/ssh_key ${UPLOAD_FILE} jlusiardi@april2023.lusiardi.de:/var/www/p17.lusiardi.de/el_diabolo