|
Download README.md from coyotte508/published-from-github: direct link, hf CLI and curl.
- Browser
- Download file 876 Bytes
-
https://huggingface.co/coyotte508/published-from-github/resolve/main/README.md
- Command line
-
hf download hf://coyotte508/published-from-github/README.md
-
curl -L -o README.md https://huggingface.co/coyotte508/published-from-github/resolve/main/README.md
876 Bytes
metadata
license: mit
tags:
- demo
- trusted-publishers
- github-actions
published-from-github
This repo is published automatically from coyotte508/publish-to-hf on GitHub, using Hugging Face Trusted Publishers — no HF_TOKEN secret stored anywhere.
Every push to main on the GitHub repo:
- Mints a short-lived GitHub OIDC ID token (audience:
https://huggingface.co). - Exchanges it at
https://huggingface.co/oauth/tokenfor a short-lived Hub token scoped to this repo (done automatically by thehfCLI). - Uploads the contents of
model/here.
See the Trusted Publishers documentation for the full walkthrough.