ca-grow-ops-manager/.agent/workflows/deploy.md
fullsizemalt ca8a3e8cee
Some checks are pending
Test / backend-test (push) Waiting to run
Test / frontend-test (push) Waiting to run
refactor: Rebrand from 777wolfpack/CA Grow Ops to Veridian
- Update all frontend branding (Login, Splash, Layout, Navbar, etc.)
- Update page titles and breadcrumbs
- Update visitor components (Badge, CheckIn)
- Update deploy.sh and README
- Update test fixtures with new email domain
2025-12-27 11:24:26 -08:00

1.5 KiB

description
Deploy ca-grow-ops-manager to multiple environments

Deploying CA Grow Ops Manager

Prerequisites

Deployment Environments

  • Test: veridian.runfoo.run (Staff Testing)
  • Prod: tangible-aacorn (Client Production)
  • Legacy: nexus-vector

Manual Deployment

// turbo-all

1. Run Deployment Script

From your local machine:

# Deploy to Test (Veridian) - Default
./deploy.sh test

# Deploy to Production (Tangible-Aacorn)
./deploy.sh prod

2. What happens?

The script will:

  1. Push local code to Forgejo.
  2. SSH into the target server.
  3. Sync the repository.
  4. Build and restart containers using Docker Compose.
  5. Perform a health check.

CI/CD (Automatic)

Pushing to main triggers the default pipeline defined in .forgejo/workflows. Currently, this may target the legacy nexus-vector or reference the new servers depending on your deploy.yml configuration.

Troubleshooting

Deployment Fails

  1. Permission Denied: Check your SSH keys and access rights to the server.

  2. Environment Issues: Check .env files on the server (/srv/containers/...).

  3. Logs:

    ssh admin@veridian.runfoo.run "cd /srv/containers/ca-grow-ops-manager-test && docker compose logs -f"
    

URLs