muelle
Pull-based CI/CD for static sites on a NixOS host.
GitHub Actions builds the site and uploads it as a workflow artifact. The muelle composite action sends an HMAC-signed request to the host; the host fetches the artifact, verifies it and flips a symlink. CI never gets shell access and never applies NixOS configuration: the NixOS module is the only authority on which sites, environments and paths exist.
Status: prototype. Static sites only.
sequenceDiagram
participant CI as GitHub Actions
participant W as webhook (host)
participant R as muelle-receive
participant K as muelle-worker
CI->>CI: build, upload-artifact
CI->>W: POST /hooks/#lt;site#gt; (HMAC-signed)
W->>W: check HMAC
W->>R: payload
R->>R: validate against the Nix site table, spool
R-->>K: detach worker
R-->>CI: {id, url} (through webhook)
K->>K: download artifact (GITHUB_TOKEN), check sha256
K->>K: extract, flip current, prune
loop until success or failure
CI->>W: GET /status/#lt;id#gt;
W-->>CI: status file
end
CI->>CI: set GitHub Deployment state
Where to start
- Host setup and Your first workflow get a site deployed.
- The guides cover environments, gating previews, the listing, operating the host and migrating an existing site.
- Architecture and Security model explain why it works the way it does.
- The reference is generated from its sources: NixOS options, action inputs, admin CLI and the Python modules.
Not yet
- Uploading the artifact in the request body (fallback when the token cannot fetch it).
- Node/JVM apps, WordPress.
- Marking GitHub deployments inactive on teardown.