deploying-to-staging-environment
Skill by AgentWorkforce
Deploys changes to staging across the relay, relay-dashboard, and relay-cloud repos. It pushes branches to each repo's staging branch with git worktrees, and a relay-cloud push triggers a GitHub Actions deployment.
Install deploying-to-staging-environment
Built from the published package, never by AI.
git clone --depth 1 https://github.com/AgentWorkforce/relay /tmp/relay && mkdir -p ~/.claude/skills && cp -r /tmp/relay/.claude/skills/deploying-to-staging-environment ~/.claude/skills/deploying-to-staging-environmentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install deploying-to-staging-environment in Claude Code
git clone --depth 1 https://github.com/AgentWorkforce/relay /tmp/relay && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/relay/.claude/skills/deploying-to-staging-environment ~/.gemini/antigravity-cli/skills/deploying-to-staging-environmentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install deploying-to-staging-environment in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Deploying to staging across relay, relay-dashboard, and relay-cloud is a skill that guides an assistant through pushing branches to the staging branch of each repo. It uses git worktrees so the main working directory is not changed. Pushing to relay-cloud's staging branch triggers the deploy-staging.yml GitHub Actions workflow, which deploys to a Fly.io staging app called agent-relay-staging.
The workflow accepts optional relay and dashboard branch inputs and falls back to main when a specified branch does not exist. The skill also explains how to watch the workflow run and check the /health endpoint. It is aimed at developers who need to integrate features across these repos or test feature branches together before production.
Written from the project's SKILL.md and checked against it.
What it can do
- Multi-repo staging pushPushes main or a feature branch to the staging branch of relay, relay-dashboard, and relay-cloud.
- Worktree-based workflowCreates and removes a git worktree for each push so the main working directory stays unchanged.
- Automatic deployment triggerExplains that a push to relay-cloud staging starts the deploy-staging.yml workflow.
- Manual workflow run with branch inputsDescribes running deploy-staging.yml with optional relay_branch and dashboard_branch inputs.
- Health check verificationDescribes checking the /health endpoint, expecting a 200 response within 150 seconds.
- Troubleshooting guidanceLists common worktree, Fly.io, and Docker build failures and suggested fixes.
What you need
- Push permission to the relay, relay-dashboard, and relay-cloud repos
- Git with worktree support
- GitHub Actions staging environment secrets
- Access to the Fly.io staging app agent-relay-staging
Try asking
- Push the latest main of all three repos to staging
- Push my feature branch to relay-cloud staging and deploy it
- Run deploy-staging with relay_branch set to my feature branch
Good to know
- Not for emergency hotfixes, which should use production deployment instead
- Only a relay-cloud staging push triggers deployment; relay and relay-dashboard pushes do not
- Worktree creation fails if the working tree has uncommitted changes
- The source text is cut off in the Fly.io failure section
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/deploying-to-staging-environment/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to deploying-to-staging-environment
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
deploying-to-staging-environment: common questions
Which repo push starts the staging deployment?
Only a push to the staging branch of relay-cloud triggers the deploy-staging.yml workflow, according to the source.
What happens if a requested branch does not exist?
The workflow falls back to main for the relay or dashboard branch that was specified but not found in the remote.
How do I confirm a staging deployment worked?
Check that the Deploy to Staging and Build Staging Workspace jobs pass and that the /health endpoint returns HTTP 200.
How do I install deploying-to-staging-environment?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deploying-to-staging-environment free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is deploying-to-staging-environment safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deploying-to-staging-environment?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
