deploy-pipeline
ActiveOpenClaw skill that orchestrates full deployment flow from GitHub to Coolify with Cloudflare tunnel configuration.
What It Does
The deploy-pipeline skill coordinates three separate tools into one seamless workflow:
- GitHub CLI — Clones repositories, manages code
- Coolify — Deploys containers, manages apps
- Cloudflare — Creates tunnels, manages DNS
Instead of running 20+ commands manually, you run one script. It handles the ordering, the env vars, the tunnel configuration — all the fiddly bits that are easy to get wrong.
The Critical Insight
Tunnel must be created BEFORE the Coolify app. This seems backwards, but if you don't have the tunnel token when the app first starts, the tunnel container crashes, the app fails health checks, and you're debugging a deployment that never had a chance to work. Get the token first, set it as an env var, then deploy. First try works.
Key Features
Pre-flight Checks
Validates Cloudflare credentials, Coolify connection, GitHub access before starting.
Tunnel-First Workflow
Creates tunnel and extracts token before Coolify app creation.
API-Based Env Vars
Works around Coolify CLI bugs by setting env vars via direct API calls.
Auto-Deploy on Push
Once configured, git push triggers automatic deployment via GitHub webhook.
How To Use
./scripts/deploy.sh \\
--repo owner/repo \\
--branch main \\
--domain app.example.com \\
--zone example.com \\
--coolify-project myapp