Skip to content
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

Update /revalidate to re-generate homepage images for dashboard #2456

Merged
merged 10 commits into from
Apr 2, 2025

Conversation

zachkirsch
Copy link
Contributor

@zachkirsch zachkirsch commented Mar 27, 2025

#2440 added an serverless function /generate-homepage-images to the dashboard nextjs app that takes a screenshot of a docs site and uploads the image to s3

this pr updates the revalidate function in fern-docs to call into /generate-homepage-images after revalidating

Copy link

vercel bot commented Mar 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dev.ferndocs.com ✅ Ready (Inspect) Visit Preview Apr 2, 2025 10:53am
fern-dashboard ✅ Ready (Inspect) Visit Preview Apr 2, 2025 10:53am
fern-dashboard-dev ✅ Ready (Inspect) Visit Preview Apr 2, 2025 10:53am
prod.ferndocs.com ✅ Ready (Inspect) Visit Preview Apr 2, 2025 10:53am

@vercel vercel bot temporarily deployed to Preview – fern-dashboard March 27, 2025 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – prod.ferndocs.com March 27, 2025 18:17 Inactive
@zachkirsch zachkirsch marked this pull request as ready for review March 27, 2025 18:18
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