Skip to content

dvy1987/agent-loom / .agents/skills/deploy-anywhere

deploy-anywhere

Verified

Deploy with unified build/test/deploy intent across providers using .agent-loom/deploy.yml and per-provider adapters. Load when the user asks to deploy, ship to preview, release to production, or run a provider-agnostic deploy flow. Also triggers on "deploy anywhere", "deploy to Vercel", "deploy with GitHub Actions", "preview deploy", or "ship this". Runs preflight before any deploy — stops on missing secrets. Pairs with ci-cd-and-automation for pipeline design. Ships vercel and github-actions adapters; extensible adapter interface.

references/adapters/github-actions.md

View on GitHub
# GitHub Actions Adapter

Deploy via workflow dispatch or push-triggered workflow. No extra secrets when running **inside** GHA (`GITHUB_TOKEN` default). Local deploy orchestrates `gh workflow run`.

---

## Scaffold workflow (consumer repo)

Path: `.github/workflows/deploy.yml`

```yaml
name: Deploy
on:
  workflow_dispatch:
  push:
    branches: [main]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: ${{ env.BUILD_CMD }}
      env:
        BUILD_CMD: npm run build
```

---

## Local trigger

```bash
gh workflow run deploy.yml --ref main
gh run watch
```

---

## Secrets

Reference in workflow via `${{ secrets.NAME }}` — document required names in deploy.yml comments, never values.

---

## Rollback

Re-run previous successful workflow on prior SHA:

```bash
gh workflow run deploy.yml --ref <previous-sha>
```

---

## Output summary

```markdown
Target: github-actions
Run: <url>
Rollback: gh workflow run deploy.yml --ref <sha>
```
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall