Repository navigation
Conversation
ollama.com answers 401 to page edits with an API key, the same as with no key or an invalid one: it accepts them only from a signed-in browser. Remove the page step, its script and the OLLAMA_API_KEY secret; the pages in docs/ollama/ are pasted by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cw7NFZ1kjsaaLELfRZLFv9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The "Update the model pages" step of publish-ollama never worked: ollama.com answers HTTP 401 to the page edit request with a freshly created API key, exactly as it does with no key or an invalid one (run with the new key). It accepts page edits only from a signed-in browser.
.github/workflows/publish-ollama.yml: removes the page step, theOLLAMA_API_KEYsecret and its check, and thedocs/ollama/**andscripts/update-ollama-pages.shtriggers; thenoneinput (pages only) is gone.scripts/update-ollama-pages.sh: removed.docs/ollama/.OLLAMA_KEYonly.Publishing the models is unchanged and works (last run).
Note: merging changes the workflow file, so publish-ollama republishes all models once (same content), then publish-huggingface mirrors them again.
Test plan
npm test: 66/66 pass.Generated by Claude Code