Commit 45e4318
ci: fix Packagist publish auth to use query-string credentials
The Packagist API rejects the Bearer-header auth scheme with HTTP 406
"Missing or invalid username/apiToken in request". Switch to the
documented query-string form (?username=&apiToken=) and update the
request body to {"repository":{"url":"..."}} as the API expects.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ca13b63 commit 45e4318
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | | - | |
89 | | - | |
90 | | - | |
| 90 | + | |
| 91 | + | |
0 commit comments