NixOS test boots a VM, loads the static-server image, starts it with
index.html + foo.html, and verifies that /foo routes to foo.html
(extensionless URL routing). Also adds flake.lock pinning nixpkgs.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Use nix eval --raw --impure + builtins.getEnv instead of Python for
Nomad job JSON generation. Add flake-output input (default: default)
so projects can build non-default outputs like docs.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
S3_BUCKET and S3_ENDPOINT are config, not secrets. Move them to
inputs with defaults (s3.toph.so / nix-cache). Calling workflows
only need to supply AWS credentials, NIX_SIGNING_KEY, NOMAD_TOKEN.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- deploy-static-site/images/flake.nix: moved from images/flake.nix
- .forgejo/workflows/build-static-server.yaml: moved from images/.forgejo/
(Forgejo only picks up workflows from repo root .forgejo/workflows/)
- updated path reference in build workflow
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>