Skip to content

chore: sync staging environment setup to main#202

Merged
zainfathoni merged 4 commits intomainfrom
staging
Jan 10, 2026
Merged

chore: sync staging environment setup to main#202
zainfathoni merged 4 commits intomainfrom
staging

Conversation

@zainfathoni
Copy link
Copy Markdown
Owner

Summary

Sync staging environment configuration files to main branch so GitHub Actions can recognize the Deploy Staging workflow.

The workflow_run trigger requires workflow files to exist on the default branch (main).

Changes

  • Kamal staging configuration
  • GitHub Actions staging deployment workflow
  • CI trigger on staging branch
  • Database sync and backup scripts
  • Staging environment indicator
  • Deployment documentation

Test plan

  • Merge to main
  • Verify Deploy Staging workflow becomes available
  • Push to staging to trigger deployment

Add Kamal configuration and GitHub Actions workflow for deploying to
staging.kelas.rumahberbagi.com. Staging deploys trigger after CI passes
on the staging branch, using environment-scoped secrets.
- Add sync-staging-db.sh to copy production data to staging
- Add backup-staging-db.sh with 7-day retention
- Add download-staging-backup.sh for local backup retrieval
- Add StagingBanner component shown when STAGING_ENVIRONMENT=true
- Update deployment.md with staging environment section
@zainfathoni zainfathoni enabled auto-merge January 10, 2026 14:17
@zainfathoni zainfathoni merged commit ad7191d into main Jan 10, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant