smbcloudxyz/smbCloud Deploy
Install the smbCloud CLI (smb) and deploy an app non-interactively from CI.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | smbCloud auth token contents. Provision it once (see docs/ci.md in smbcloud-cli) and pass it from a CI secret. Written to the CLI state dir so `smb` is authenticated without an interactive `smb login`. | yes | — |
| environment | smbCloud environment: production or dev. | no | production |
| project | Sub-project name to deploy for monorepo configs with [[projects]] entries. Matches the `name` field in .smb/config.toml. Omit for single-project configs. | no | "" |
| working-directory | Directory containing .smb/config.toml. Defaults to the repo root. | no | . |
| version | smbCloud CLI version to install (e.g. 0.5.0 or v0.5.0). Use 'latest' for the most recent GitHub release. | no | latest |
| ssh-private-key | Optional SSH private key contents for rsync/SSH deploy paths. Installed at ~/.ssh/<ssh-key-name>. | no | "" |
| ssh-key-name | Filename for the installed SSH private key under ~/.ssh. smbCloud rsync deploys expect the account-scoped name `id_<user-id>@smbcloud`. Required when ssh-private-key is set. | no | "" |
| ssh-known-hosts | Optional known_hosts entries appended to ~/.ssh/known_hosts. Recommended for SSH deploys instead of disabling host-key checking. | no | "" |
| args | Extra arguments appended to the `smb deploy` invocation. | no | "" |
| cli-repository | GitHub repository to download the CLI binary from. | no | smbcloudXYZ/smbcloud-cli |
Outputs
| name | description |
|---|---|
| smb-path | Absolute path to the installed smb binary. |
| version | Resolved CLI version that was installed. |