diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 48c3180..fe0177a 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -81,8 +81,9 @@ jobs: cd /tmp/ostree-* export DEBEMAIL="build@particle-os.local" export EMAIL="build@particle-os.local" - export EDITOR="nano" - echo "y" | dch --bpo || echo "dch --bpo failed, continuing..." + export EDITOR="true" + # Use dch with --force-distribution to avoid interactive prompts + dch --bpo --force-distribution || echo "dch --bpo failed, continuing..." - name: Build packages run: | @@ -122,7 +123,8 @@ jobs: if [ -f "$deb_file" ]; then echo "Uploading $deb_file to Forgejo Debian Registry..." UPLOAD_URL="https://git.raines.xyz/api/packages/particle-os/debian/pool/trixie/main/upload" - curl --user "${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }}" \ + curl -X PUT \ + --user "${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }}" \ --upload-file "$deb_file" \ "$UPLOAD_URL" fi