Skip to main content
Runtime commands operate on a LibOps dashboard Site. In core sitectl language, that Site is also the remote environment target.

Ping

Ping a site URL or Site ID to wake/check the web endpoint:
sitectl libops ping "$SITE_ID"
sitectl libops ping https://collections.example.edu

SSH

Connect to the Site environment:
sitectl libops ssh "$SITE_ID"
sitectl libops ssh "$SITE_ID" --ssh-user deploy --ssh-key ~/.ssh/id_ed25519
The command derives ssh.<managed-domain> from the Site domains when possible. Use --ssh-host when you need an explicit host.

Checkout

Clone the configured GitHub repository and check out the configured ref:
sitectl libops checkout "$SITE_ID" ./collections
sitectl libops checkout "$SITE_ID" ./collections --update-context
Your GitHub username must be set in LibOps, and your SSH public key must be added to both GitHub and LibOps.

Context update

Create or update a core sitectl remote context from the LibOps Site:
sitectl libops context update "$SITE_ID"
sitectl libops context update "$SITE_ID" --context-name production --default
Use --plugin, --project-dir, --ssh-host, --ssh-user, --ssh-port, and --ssh-key to override inferred values.