Guides · docs/guides/deploy.md
Deploy
Two things ship from this repository: the npm package and the site.
The package
build/ is committed, so a tag is a release.
- Bump
versioninstation.jsonandpackage.json(they must match), and add a CHANGELOG entry. make build validate- Commit, then tag:
git tag -a v<version> -m <version> make distwritesdist/cardsite-icons-<version>.zipand.sha256from tracked files. Attach both to the release.- Publish to the organization's private registry:
npm publish(the package isprivateuntil the registry is configured; see ROADMAP).
The site
public/ is a static folder with no server and no build step to view it. Any static host works.
- Container:
make upbuildsdeploy/Dockerfile(nginx servingpublic/andindex.html) and runs it onCOMPOSE_PORT(default 8080).make downstops it. - Internal address: this repository is internal (
tier: internal). The site is its internal documentation and is not served atstation.center/modules. Its address islandingin station.json.
Rebuild before deploying: make site regenerates every page from docs/, the changelog and the version.