Add PR preview cleanup workflow for frontend#226
Open
lmcdonough wants to merge 4 commits intomainfrom
Open
Conversation
7358c12 to
f4df06d
Compare
Add GitHub Actions workflows for deploying and cleaning up frontend PR preview environments. The deployment workflow calls the backend repo's reusable ci-deploy-pr-preview workflow with frontend-specific configuration. Infrastructure changes: - Dockerfile: redeclare build ARGs in builder/runner stages for proper NEXT_PUBLIC_* propagation, add NEXT_PUBLIC_BASE_PATH support - next.config.mjs: add basePath support for sub-path PR preview routing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- docs/cicd/README.md: CI/CD pipeline overview and workflow architecture - docs/runbooks/pr-preview-environments.md: operational runbook for PR preview environments including troubleshooting and secret management - README.md: add CI/CD documentation section Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add extensionsCreatedRef to prevent TipTap extensions from being created multiple times during React re-renders. Housekeeping: - .gitignore: add Snyk rules - .vscode/settings.json: remove from tracking (already in .gitignore) - package-lock.json: dependency updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document PR preview architecture, Docker ARG scoping requirements, NEXT_PUBLIC_BASE_PATH usage, and the secrets: inherit pitfall where stale repo-level secrets override workflow fallback defaults. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
96e0acb to
9312de1
Compare
🚀 PR Preview Environment Deployed!🔗 Access URLs
📊 Environment Details
🔐 Access Requirements
🧪 Testing# Health check
curl http://neo/pr-226/health
# Frontend
curl http://neo/pr-226/
# API test
curl http://neo/pr-226/api/v1/users🧹 CleanupEnvironment auto-cleaned when PR closes/merges Deployed: 2026-02-08T01:55:12.920Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements automated cleanup for PR preview environments. Triggers on pull_request closed event and calls backend reusable workflow.