Fixed deb CI
Some checks failed
Build and Publish Deb Package / build-deb (push) Failing after 1m58s
Publish Server Image / build-and-push-image (push) Has been cancelled

This commit is contained in:
2026-03-13 16:12:53 +00:00
parent 773e9c1ee7
commit 1f85d9c435

View File

@@ -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"