Adding Source Repositories
A single history repository supports multiple source projects. No manual registration is required.
Steps
- Use the same
history-repositoryin each project's workflow - Each project writes to
data/repositories/{owner.repo}/ - The global
repositories.jsonindex is updated automatically - The dashboard discovers all repositories from the index
Example
Three projects sharing one history repo:
# repo-a workflow
history-repository: my-org/test-history
history-repository-name: auto # writes to my-org.repo-a
# repo-b workflow
history-repository: my-org/test-history
history-repository-name: auto # writes to my-org.repo-b
Default repository
Set history-default-repository on first publish, or edit config.json:
{ "defaultRepository": "my-org/repo-a" }