GitHub renders the repository sidebar automatically. The project can prepare the signals, but GitHub decides when to show each block.
The Deployments block appears after workflows create deployment records. This repo includes:
.github/workflows/deploy-preview.ymlcreates thePreviewenvironment on pull requests..github/workflows/deploy-production.ymlcreates theProductionenvironment onmainpushes..github/workflows/publish-npm.ymlcreates thenpmenvironment on releases or manual dispatch.
To make the production deployment link point to your real site, add a repository variable:
Settings -> Secrets and variables -> Actions -> Variables
PRODUCTION_URL=https://your-domain.example
The Used by block cannot be manually added. GitHub shows it when dependency graph data proves other repositories depend on your package.
For this project:
- Publish the root npm package
misungtr. - Enable dependency graph in repository settings.
- Wait for other public repositories to add
misungtras a dependency.
The repo includes package.json and publish-npm.yml to prepare for this flow, but the count only appears after real downstream usage exists.