Hogsend
CLI Reference

hogsend deploy

Trigger a Railway redeploy for both the API and Worker services.

Usage

hogsend deploy

Triggers a redeploy of both the API and Worker services on Railway using the credentials stored in .hogsend.yaml.

What it does

  1. Loads the Railway token, project ID, environment ID, and service IDs from .hogsend.yaml
  2. Calls the Railway API to redeploy the API service
  3. Calls the Railway API to redeploy the Worker service
  4. Prints the Railway dashboard link so you can track build progress

Both services are redeployed using their latest committed code and current environment variables.

When to use it

ScenarioUse hogsend deployUse git push
Changed env vars via hogsend init or hogsend journeysAutomatic -- those commands redeploy for you--
Changed env vars manually on Railway dashboardYesNo
Pushed new code to mainNo -- auto-deploy handles itYes
Need to restart services without code changesYesNo
Debugging a stuck deploymentYesNo

The deploy command is most useful when you need to restart services after a manual configuration change, or when you want to force a fresh deployment without pushing code.

Example output

HOGSEND DEPLOY
Deploying ACME Corp

  Redeploying API...      done
  Redeploying Worker...   done

  Deploy triggered
  Track progress: https://railway.com/project/abc-123

Requirements

  • .hogsend.yaml must exist with valid Railway credentials
  • The Railway token must have access to the configured project

On this page