Skip to content

ci: create reusable deploy-website action and separate deployment workflow#489

Merged
graphite-app[bot] merged 1 commit intomainfrom
12-03-split_ci_and_deploy_workflows_to_avoid_redundant_test_runs
Dec 3, 2025
Merged

ci: create reusable deploy-website action and separate deployment workflow#489
graphite-app[bot] merged 1 commit intomainfrom
12-03-split_ci_and_deploy_workflows_to_avoid_redundant_test_runs

Conversation

@jumski
Copy link
Copy Markdown
Contributor

@jumski jumski commented Dec 3, 2025

Refactor website deployment workflow with dedicated GitHub Action

This PR improves the website deployment process by:

  1. Creating a reusable deploy-website GitHub Action that:

    • Validates Supabase environment variables
    • Handles both preview and production deployments
    • Posts deployment comments
  2. Separating deployment workflows:

    • Modified ci.yml to only handle PR preview deployments
    • Added new deploy.yml workflow for production deployments on main branch

This approach provides better separation of concerns, reduces duplication, and makes the deployment process more maintainable. The reusable action ensures consistent deployment behavior across both preview and production environments.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 3, 2025

⚠️ No Changeset found

Latest commit: 94cbdd7

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
Copy Markdown
Contributor Author

jumski commented Dec 3, 2025


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
Copy Markdown

nx-cloud Bot commented Dec 3, 2025

View your CI Pipeline Execution ↗ for commit 94cbdd7

Command Status Duration Result
nx affected -t verify-exports --base=origin/mai... ✅ Succeeded <1s View ↗
nx affected -t build --configuration=production... ✅ Succeeded <1s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-03 11:32:55 UTC

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Dec 3, 2025

View your CI Pipeline Execution ↗ for commit d02713c

Command Status Duration Result
nx affected -t build --configuration=production... ✅ Succeeded <1s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-03 11:30:55 UTC

@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Dec 3, 2025

Merge activity

…kflow (#489)

# Refactor website deployment workflow with dedicated GitHub Action

This PR improves the website deployment process by:

1. Creating a reusable `deploy-website` GitHub Action that:
   - Validates Supabase environment variables
   - Handles both preview and production deployments
   - Posts deployment comments

2. Separating deployment workflows:
   - Modified `ci.yml` to only handle PR preview deployments
   - Added new `deploy.yml` workflow for production deployments on main branch

This approach provides better separation of concerns, reduces duplication, and makes the deployment process more maintainable. The reusable action ensures consistent deployment behavior across both preview and production environments.
@graphite-app graphite-app Bot force-pushed the 12-03-split_ci_and_deploy_workflows_to_avoid_redundant_test_runs branch from d02713c to 94cbdd7 Compare December 3, 2025 11:31
@graphite-app graphite-app Bot merged commit 94cbdd7 into main Dec 3, 2025
9 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 3, 2025

🚀 Production Deployment: Website

Successfully deployed to production!

🔗 Production URL: https://pgflow.dev

📝 Details:

  • Commit: 94cbdd7b2eb1d7cbd9e82414aec65cb725f6babd
  • View Logs

Deployed at: 2025-12-03T11:31:23Z

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.

1 participant