Install the Onebox CLI, ob, in a GitHub Actions job.
- uses: labstack/setup-onebox@v2026.11.0-alpha
with:
version: 2026.11.4-alpha # default: latest
- run: ob deploy --env production --yesReleases use the same CalVer alpha tags as Onebox (vYYYY.M.N-alpha),
published as GitHub pre-releases. There is no moving major tag. For a deploy
workflow, pin the release's commit SHA with the tag as a comment, such as
labstack/setup-onebox@<sha> # v2026.11.0-alpha, so Dependabot or Renovate
can update it.
The action downloads the release archive for the runner's OS and architecture
from labstack/onebox releases,
checks it against the release's onebox_<version>_checksums.txt, and puts ob
on PATH. It runs on Linux, macOS and Windows, on x64 and ARM64.
| Input | Default | Description |
|---|---|---|
version |
latest |
Release to install, with or without the leading v. latest is the newest published release, alpha included. Pin a version for repeatable deploys. |
token |
${{ github.token }} |
Token used to read the release. |
| Output | Description |
|---|---|
version |
The installed release, without its leading v. |
path |
Absolute path of the installed ob. |
Deploying from Actions, approval with GitHub environment reviewers, and keeping server keys on a self-hosted runner are covered in Deploy from GitHub Actions.
Apache-2.0