From 3ee7235b51083f13c5070ef9e26d9e4f839ccdf0 Mon Sep 17 00:00:00 2001 From: AB-UK Date: Fri, 13 Mar 2026 16:18:08 +0000 Subject: [PATCH] Fixed deb CI --- .github/workflows/deb-publish.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deb-publish.yml b/.github/workflows/deb-publish.yml index 3ccd93f..56cd777 100644 --- a/.github/workflows/deb-publish.yml +++ b/.github/workflows/deb-publish.yml @@ -55,11 +55,9 @@ jobs: - name: Publish to Gitea APT registry run: | - TARGET_URL="${{ secrets.PKG_REGISTRY_URL }}/api/packages/${{ secrets.PKG_OWNER }}/debian/pool/noble/main" + TARGET_URL="${{ secrets.PKG_REGISTRY_URL }}/api/packages/${{ secrets.PKG_OWNER }}/debian/pool/noble/main/upload" echo "Uploading to: $TARGET_URL" - curl --fail-with-body -v \ - -X PUT \ - -H "Authorization: token ${{ secrets.PKG_TOKEN }}" \ - -H "Content-Type: application/octet-stream" \ + curl --fail-with-body \ + --user "${{ secrets.PKG_USER }}:${{ secrets.PKG_TOKEN }}" \ --upload-file "${{ steps.deb.outputs.path }}" \ "$TARGET_URL"