From 11ce6cc22a8878c7d0e0457ff15a01dad0914080 Mon Sep 17 00:00:00 2001 From: robojerk Date: Sat, 6 Sep 2025 12:28:50 -0700 Subject: [PATCH] Fix Forgejo upload API endpoint to match working composefs CI - Use correct API endpoint: /api/packages/particle-os/debian/pool/trixie/main/upload - Match the format used in the working composefs CI - This should resolve the 404 page not found errors - Build is working perfectly, just need correct upload URL --- .forgejo/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1225ad5..48c3180 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -121,10 +121,10 @@ jobs: for deb_file in ../*.deb; do if [ -f "$deb_file" ]; then echo "Uploading $deb_file to Forgejo Debian Registry..." - curl -X POST \ - --user "${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }}" \ + UPLOAD_URL="https://git.raines.xyz/api/packages/particle-os/debian/pool/trixie/main/upload" + curl --user "${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }}" \ --upload-file "$deb_file" \ - "https://git.raines.xyz/api/packages/particle-os/debian/" + "$UPLOAD_URL" fi done