Fix Forgejo upload API endpoint to match working composefs CI
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 10m25s
All checks were successful
Build ostree packages from sid to trixie / Build ostree packages (push) Successful in 10m25s
- 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
This commit is contained in:
parent
45e86c9328
commit
11ce6cc22a
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue