Skip to content

feat(cli): Push auth email template HTML from content_path during config push#5686

Merged
jgoux merged 4 commits into
supabase:developfrom
mittal-parth:feat/config-push-templates
Jun 25, 2026
Merged

feat(cli): Push auth email template HTML from content_path during config push#5686
jgoux merged 4 commits into
supabase:developfrom
mittal-parth:feat/config-push-templates

Conversation

@mittal-parth

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Enhancements

What is the current behavior?

After the native config push port (#5489), only template subjects were pushed to the cloud API - content_path was parsed but the HTML files were never read, so mailer_templates_*_content was never sent.

What is the new behavior?

This change loads the template and notification HTML from disk before the auth diff/PATCH step (templates from project root, notifications from supabase/) and includes the content in the auth update body.

Additional context

Closes #5684

…fig push

After the native config push port, only template subjects were pushed to the cloud API - content_path was parsed but the HTML files were never read, so mailer_templates_*_content was never sent.

This change loads the template and notification HTML from disk before the auth diff/PATCH step (templates from project root, notifications from supabase/) and includes the content in the auth update body.
@mittal-parth mittal-parth requested a review from a team as a code owner June 24, 2026 18:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 25c1337ff4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/cli/src/legacy/commands/config/push/push.handler.ts Outdated
@jgoux jgoux enabled auto-merge June 25, 2026 08:21

@jgoux jgoux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! 🙏

@jgoux jgoux added this pull request to the merge queue Jun 25, 2026
Merged via the queue into supabase:develop with commit c2ac262 Jun 25, 2026
12 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.

CaC: Support Deploying Auth Email Templates Specified in config.toml to Supabase Cloud projects

2 participants