Skip to content

Deployment

Environments

Environment URL Branch
Development https://commercial-dev.credplatform.com/ develop
Staging https://commercial-staging.credplatform.com/ staging
Production https://commercial.credplatform.com/ main

CI/CD Pipeline

GitHub Actions

The project uses GitHub Actions for automated testing and deployment:

  1. On Pull Request - Runs tests and linting
  2. On Merge to develop - Deploys to Development
  3. On Merge to staging - Deploys to Staging
  4. On Merge to main - Deploys to Production

Infrastructure

Service Purpose
GitHub Actions Automated testing and deployment
Heroku Application hosting and scaling
Google Cloud Data storage and AI services

Deployment Process

Automatic Deployment

Merging to the appropriate branch triggers automatic deployment:

feature-branch → develop → staging → main
                    ↓          ↓        ↓
                  Dev      Staging   Production

Manual Deployment

If needed, you can trigger a manual deployment:

# Deploy to development
git push heroku develop:main

# Or use Heroku CLI
heroku releases:rollback v123 --app cred-commercial-dev

Monitoring

  • Heroku Dashboard - Application metrics and logs
  • Google Cloud Console - Storage and AI service monitoring
  • Slack Alerts - Deployment notifications in #deployments