Skip to content

Prod deploy#66

Merged
boazpoolman merged 15 commits into
mainfrom
develop
Jun 29, 2026
Merged

Prod deploy#66
boazpoolman merged 15 commits into
mainfrom
develop

Conversation

@boazpoolman

Copy link
Copy Markdown
Collaborator

No description provided.

boazpoolman and others added 15 commits June 25, 2026 13:55
…rovider config

Guard the Google passport strategy to only accept @strapi.io emails (reject others) and pass the request to the callback; mirror the Google provider config under config/env/production/admin.ts so it applies on Strapi Cloud. Drop an unnecessary @ts directive on the GoogleStrategy constructor (it suppressed no error and tripped the biome @ts-ignore->@ts-expect-error rule, breaking check-types).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add N8N_WEBHOOK_NAMESPACE (default "strapi") to prefix all lifecycle + security-scan webhook paths, so duplicate workflow sets sharing one n8n instance (e.g. staging vs production) post to distinct, non-colliding paths. Mirrored into config/env/production/plugins.ts so it resolves on Strapi Cloud.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Switch the Strapi-calling HTTP nodes from $env token auth to an n8n Header Auth credential (Strapi base URL becomes a per-instance literal); the Claude node uses the predefined Anthropic credential. Pin httpRequest nodes to typeVersion 4.4 and the n8n image to 2.27.4 for version portability, and drop the now-unused STRAPI_*/N8N_BLOCK_ENV_ACCESS compose env (auth is credential-based now).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Covers import, the post-import re-link of by-id references, the n8n credentials + Strapi env vars per instance, the N8N_WEBHOOK_NAMESPACE multi-env scheme, and activation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
deploy-workflows.mjs deploys a workflow set to a target n8n instance for one environment: rewrites the Strapi base URL (from the localhost placeholder) and webhook paths to the env namespace, re-links the by-id references (executeWorkflow->render-email, errorWorkflow->error-handler), and re-attaches existing credential bindings by node name so re-deploys don't wipe them. README documents the deploy flow + per-set credentials/env vars + base-URL handling (9 nodes across 4 workflows), and adds a mermaid architecture diagram (Strapi <-> n8n <-> SendGrid/Slack/Anthropic).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat(automation): multi-environment n8n workflow deploy + admin SSO
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
community-web Ready Ready Preview, Comment Jun 29, 2026 10:04am

Request Review

@boazpoolman boazpoolman merged commit ca48c6b into main Jun 29, 2026
3 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.

2 participants