dig-network/Deploy to DIG (dig-store)
Auto-deploy a built site/dapp to your existing DIG store on every push — a new capsule, published to DIGHUb — git-push-to-deploy. Advances an existing store (never mints: it does NOT run `init`).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mnemonic | BIP-39 mnemonic of the FUNDED deploy wallet (the singleton owner). Signs the on-chain root update and pays a uniform per-capsule price (in $DIG at the live rate) + an XCH fee PER deploy. SECURITY: this can spend all of the wallet's DIG/XCH — use a DEDICATED low-balance deploy wallet funded only with enough $DIG for your expected deploys. Pass a repository secret; never hard-code it. | yes | — |
| deploy-key | The store's publisher deploy key (64-hex), from `dig-store deploy-key export` run once on the machine that created the store. Authorizes publishing new capsules to DIGHUb. It has NO spend authority, but it is still a credential — pass it as a repository secret. | yes | — |
| store-id | The 64-hex store id to advance. Optional if set as `store-id` in `dig.toml`. | no | "" |
| output-dir | The built-output directory to publish (default: dist, or dig.toml's output-dir). | no | "" |
| build-command | Shell command to build the site before deploying (e.g. "npm ci && npm run build"). Optional; you can also build in a prior step and leave this empty. | no | "" |
| salt | The 32-byte secret salt (64-hex) for a PRIVATE store. Leave empty for a public store. Pass as a repository secret if used. | no | "" |
| remote | The DIGHUb remote to publish to. Defaults to the public DIGHUb for your store. Override only for a self-hosted node. Accepts `dig://<store-id>` or a node URL. Optional if set as `remote` in `dig.toml`. | no | "" |
| message | Commit message for the new capsule (default: deploy <git sha>). | no | "" |
| network | Chain network (default: mainnet). | no | mainnet |
| wait-timeout | Seconds to wait for on-chain confirmation (default: 600). | no | 600 |
| passphrase | Optional passphrase to encrypt the imported seed on the runner. Defaults to a random per-run value (the seed is discarded when the runner is torn down). You normally do NOT need to set this. | no | "" |
| digstore-ref | The digstore git ref (tag/branch/sha) to build the CLI from. Pin this to a release tag for reproducible deploys. | no | main |
Outputs
| name | description |
|---|---|
| capsule | The new capsule identity: storeId:rootHash. |
| root | The new on-chain root hash of this deploy. |
| store-id | The store id that was advanced. |
| chia-url | The chia:// content-open address of the new capsule (the user-facing scheme the DIG Browser/extension register). |
| dig-url | DEPRECATED alias of `chia-url` (now also a chia:// address). Use `chia-url`. |
| hub-url | The DIGHUb URL for the store. |