v7.3.0 llm.txt Download
DocsDeploy

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.

  1. Bump version in station.json and package.json (they must match), and add a CHANGELOG entry.
  2. make build validate
  3. Commit, then tag: git tag -a v<version> -m <version>
  4. make dist writes dist/cardsite-icons-<version>.zip and .sha256 from tracked files. Attach both to the release.
  5. Publish to the organization's private registry: npm publish (the package is private until 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 up builds deploy/Dockerfile (nginx serving public/ and index.html) and runs it on COMPOSE_PORT (default 8080). make down stops it.
  • Internal address: this repository is internal (tier: internal). The site is its internal documentation and is not served at station.center/modules. Its address is landing in station.json.

Rebuild before deploying: make site regenerates every page from docs/, the changelog and the version.