From bffc0c4c48b71229728842968871e8c03b46f495 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Wed, 18 Dec 2024 09:55:28 -0800 Subject: [PATCH] Upload Debian package to repo --- .forgejo/workflows/compile.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/compile.yaml b/.forgejo/workflows/compile.yaml index def5f88..87c6ded 100644 --- a/.forgejo/workflows/compile.yaml +++ b/.forgejo/workflows/compile.yaml @@ -62,6 +62,9 @@ jobs: with: name: debian-packages path: ./looper*.deb + - name: Push package to repository + if: ${{vars.user != null && secrets.token != null}} + run: for i in looper*.deb; do curl --user ${{vars.user}}:${{secrets.token}} --upload-file "$i" https://complecwaft.com/api/packages/${{vars.user}}/debian/pool/bookworm/main/upload; done build-appimage: runs-on: ubuntu-latest needs: get-source-code