-
Notifications
You must be signed in to change notification settings - Fork 14
feat: add PR preview deployments for demo app #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add PR preview deployments for demo app #330
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 5aa8995
☁️ Nx Cloud last updated this comment at |
3417037 to
4069c1b
Compare
ff6089a to
2cb1269
Compare
2cb1269 to
aed0006
Compare
4069c1b to
00a42ab
Compare
aed0006 to
d2e3729
Compare
00a42ab to
5e1c8fa
Compare
d2e3729 to
c46dd43
Compare
5e1c8fa to
259e682
Compare
c46dd43 to
c1942ba
Compare
259e682 to
5aa8995
Compare
Merge activity
|
# Add PR Preview Deployments for Demo App This PR enhances our CI/CD pipeline to support preview deployments for the demo app on pull requests. Key changes include: - Modified the `deploy-demo` job to run on both PRs and main branch pushes - Added dynamic environment selection (`preview` or `production`) based on the event type - Replaced hardcoded Supabase credentials with environment variables from GitHub secrets - Added conditional deployment logic to deploy to preview URLs for PRs and production for main branch - Updated the deployment comment action to include preview URLs for PR deployments - Added environment variable inputs to build configurations in project.json files to ensure proper cache invalidation when environment variables change These changes will allow reviewers to see live previews of the demo app for each PR before merging to main.

Add PR Preview Deployments for Demo App
This PR enhances our CI/CD pipeline to support preview deployments for the demo app on pull requests. Key changes include:
deploy-demojob to run on both PRs and main branch pushesprevieworproduction) based on the event typeThese changes will allow reviewers to see live previews of the demo app for each PR before merging to main.