docs: add file links to README
This commit is contained in:
parent
ada83e01b5
commit
5b2c68c4ef
1 changed files with 5 additions and 4 deletions
|
|
@ -43,9 +43,10 @@ Builds a Nix flake site, uploads a tarball to S3, and deploys it via Nomad using
|
||||||
|
|
||||||
## Cold-Start (maintainer note)
|
## Cold-Start (maintainer note)
|
||||||
|
|
||||||
The `static-server` image (`registry.toph.so/static-server:latest`) is built and pushed by
|
The `static-server` image (`registry.toph.so/static-server:latest`) is built and pushed by the
|
||||||
the `build-static-server` workflow in this repo. It runs automatically when `deploy-static-site/images/flake.nix`
|
[`build-static-server`](../.forgejo/workflows/build-static-server.yaml) workflow in this repo.
|
||||||
changes, or can be triggered manually via `workflow_dispatch`.
|
It runs automatically when [`deploy-static-site/images/flake.nix`](images/flake.nix) changes,
|
||||||
|
or can be triggered manually via `workflow_dispatch`.
|
||||||
|
|
||||||
On a fresh infrastructure setup, run that workflow once before deploying any site.
|
On a fresh infrastructure setup, run that workflow once before deploying any site.
|
||||||
|
|
||||||
|
|
@ -57,7 +58,7 @@ The site repo's flake must expose a package output that produces a directory of
|
||||||
packages.x86_64-linux.default = # derivation whose $out contains static files
|
packages.x86_64-linux.default = # derivation whose $out contains static files
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `site-lib` from this repo to set this up with minimal boilerplate:
|
Use [`site-lib`](../site-lib) from this repo to set this up with minimal boilerplate:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue