Skip to content

Add GitHub Actions for Supabase Environments#1870

Closed
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1747607854-add-supabase-env-workflows
Closed

Add GitHub Actions for Supabase Environments#1870
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1747607854-add-supabase-env-workflows

Conversation

@devin-ai-integration
Copy link
Contributor

Add GitHub Actions for Supabase Environments

This PR adds GitHub Actions workflows for deploying Supabase to staging and production environments, following the Supabase documentation on managing environments.

Changes

  • Added supabase-staging.yml workflow that deploys to staging when code is pushed to the develop branch
  • Added supabase-production.yml workflow that deploys to production when code is pushed to the main branch
  • Added supabase-ci.yml workflow that validates migrations on pull requests to develop and main branches
  • Updated README.md with documentation on the CI/CD setup for Supabase environments

Required GitHub Secrets

To use these workflows, the following secrets need to be set up in the GitHub repository:

  • SUPABASE_ACCESS_TOKEN - Personal access token from Supabase
  • STAGING_DB_PASSWORD - Database password for staging environment
  • STAGING_PROJECT_ID - Project ID for staging environment
  • PRODUCTION_DB_PASSWORD - Database password for production environment
  • PRODUCTION_PROJECT_ID - Project ID for production environment

Link to Devin run

https://app.devin.ai/sessions/29aa657a34c64590828ea3a9f3125c3b

Requested by

kiet@onlook.dev

…ronments

Co-Authored-By: kiet@onlook.dev <kiet@onlook.dev>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link

vercel bot commented May 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 8:33pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 8:33pm

Co-Authored-By: kiet@onlook.dev <kiet@onlook.dev>
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