Skip to content

Conversation

@jumski
Copy link
Contributor

@jumski jumski commented Nov 7, 2025

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.

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2025

⚠️ No Changeset found

Latest commit: 5aa8995

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor Author

jumski commented Nov 7, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge:queue - adds this PR to the back of the merge queue
  • hotfix:queue - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nx-cloud
Copy link

nx-cloud bot commented Nov 7, 2025

View your CI Pipeline Execution ↗ for commit 5aa8995

Command Status Duration Result
nx test:types:health dsl ✅ Succeeded 14s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-11 14:55:37 UTC

@jumski jumski force-pushed the feat-demo-copy-and-explanation-tweaks branch from d2e3729 to c46dd43 Compare November 10, 2025 23:37
@jumski jumski force-pushed the feat-demo-final-deploy-fixes branch from 5e1c8fa to 259e682 Compare November 10, 2025 23:37
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 11, 2025

Merge activity

  • Nov 11, 8:50 PM UTC: jumski added this pull request to the Graphite merge queue.
  • Nov 11, 8:53 PM UTC: The Graphite merge queue removed this pull request due to downstack failures on PR #289.
  • Nov 11, 8:54 PM UTC: The Graphite merge queue removed this pull request due to downstack failures on PR #289.
  • Nov 11, 9:05 PM UTC: jumski added this pull request to the Graphite merge queue.
  • Nov 11, 9:06 PM UTC: CI is running for this pull request on a draft pull request (#362) due to your merge queue CI optimization settings.
  • Nov 11, 9:07 PM UTC: Merged by the Graphite merge queue via draft PR: #362.

graphite-app bot pushed a commit that referenced this pull request Nov 11, 2025
# 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.
@graphite-app graphite-app bot closed this Nov 11, 2025
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