diff --git a/.github/workflows/deb-publish.yml b/.github/workflows/deb-publish.yml index 01af426..3ccd93f 100644 --- a/.github/workflows/deb-publish.yml +++ b/.github/workflows/deb-publish.yml @@ -55,9 +55,11 @@ jobs: - name: Publish to Gitea APT registry run: | - curl --fail-with-body \ + TARGET_URL="${{ secrets.PKG_REGISTRY_URL }}/api/packages/${{ secrets.PKG_OWNER }}/debian/pool/noble/main" + echo "Uploading to: $TARGET_URL" + curl --fail-with-body -v \ -X PUT \ -H "Authorization: token ${{ secrets.PKG_TOKEN }}" \ -H "Content-Type: application/octet-stream" \ --upload-file "${{ steps.deb.outputs.path }}" \ - "${{ secrets.PKG_REGISTRY_URL }}/api/packages/${{ secrets.PKG_OWNER }}/debian/pool/noble/main" + "$TARGET_URL"