sandwichfarm/nsite-action

Deploys static website files to Blossom/Nostr using the nsyte CLI.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionThe version of the nsyte CLI to use (e.g., "v0.5.3", "latest"). Needs to match a tag in github.com/sandwichfarm/nsyte/releasesnolatest
secCompatibility input. Prefer nbunksec; this value is still passed to nsyte via --sec.no
nbunksecRecommended CI signing credential. Must start with nbunksec1; this action rejects sec1 values to discourage direct private key usage.no
directoryThe directory containing the static files to deploy.yes
relaysNewline-separated list of Nostr relay WebSocket URIs to publish the site event to.no""
serversNewline-separated list of Blossom server HTTPS URLs to deploy files to.no""
nameDeploy as a named nsite (NIP-5A). When set, the site is published under this name via --name. When omitted, the site deploys as the root (npub) nsite.no""
forceCorresponds to the --force flag in nsyte deploy. Re-deploy all files.nofalse
purgeDEPRECATED: There is no deploy-time purge flag in nsyte. Use the nsyte "delete" or "undeploy" commands instead.nofalse
syncCorresponds to the --sync flag in nsyte deploy. Check all servers and upload missing blobs.nofalse
verboseCorresponds to the --verbose flag in nsyte deploy. Show detailed output.nofalse
concurrencyCorresponds to the --concurrency flag in nsyte deploy. Number of parallel deploys.no4
fallbackCorresponds to the --fallback flag in nsyte deploy. Path to the fallback HTML file (e.g., /index.html for SPAs).no""
publish_server_listtrue/false. If true, the server list will be published to relays. Root sites only.nofalse
publish_relay_listtrue/false. If true, the relay list will be published to relays. Root sites only.nofalse
publish_profiletrue/false. If true, the profile will be published to relays. Root sites only.nofalse
use_fallback_relaysIf true, include default nsyte relays in addition to configured ones.nofalse
use_fallback_serversIf true, include default nsyte blossom servers in addition to configured ones.nofalse
publish_app_handlerIf true, publish NIP-89 app handler announcement (Kind 31990).nofalse
handler_kindsComma-separated event kinds the nsite can handle. Only used when publish_app_handler is true.no""
skip_secrets_scanIf true (default), pass --skip-secrets-scan to nsyte to bypass the pre-deploy secrets scan. Set to "false" to let nsyte scan the deploy directory for credentials before publishing. Requires an nsyte version that supports the flag; ignored automatically on older versions.notrue
scan_levelSecrets scan sensitivity passed to nsyte via --scan-level (low, medium, high). Only applied when skip_secrets_scan is false. Leave blank to use the nsyte default.no""
namedescription
statusStatus of the deploy operation (e.g., "success").
nsyte_version_usedThe actual version of nsyte that was downloaded and used.