Skip to content

Conversation

@dslovinsky
Copy link
Collaborator

Description

Now that we have a revalidation endpoint, this GHA checks for changes in MDX files that were just merged to main. Then it fires one call to the revalidate endpoint in the docs site and echoes the response.

Related Issues

https://app.asana.com/1/1129441638109975/project/1211825853436056/task/1212833101586117?focus=true

Changes Made

Testing

  • I have tested these changes locally
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

@dslovinsky dslovinsky self-assigned this Jan 20, 2026
@dslovinsky dslovinsky requested a review from a team as a code owner January 20, 2026 23:39
Copilot AI review requested due to automatic review settings January 20, 2026 23:39
@github-actions
Copy link

github-actions bot commented Jan 20, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jan 20, 2026, 11:52 PM

@github-actions github-actions bot temporarily deployed to docs-preview January 20, 2026 23:40 Destroyed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a GitHub Actions workflow to automatically trigger cache revalidation when MDX documentation files are updated. When changes to MDX files in the fern/ directory are pushed to main, the workflow calls a revalidation API endpoint to refresh the affected pages.

Changes:

  • Added a new GitHub Actions workflow that triggers on pushes to main when MDX files in fern/ are modified
  • Implemented logic to detect changed MDX files, transform their paths, and send them to a revalidation API endpoint
  • Included error handling and response validation for the API call

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot temporarily deployed to docs-preview January 20, 2026 23:49 Destroyed
@dslovinsky dslovinsky merged commit c2a3838 into main Jan 21, 2026
8 of 9 checks passed
@dslovinsky dslovinsky deleted the ds/revalidate-trigger branch January 21, 2026 02:04
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