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

Change newsroom to statically built and trigger build/deploy with Sanity webhook #2657

Open
BorghildSelle opened this issue Nov 7, 2024 · 1 comment
Assignees

Comments

@BorghildSelle
Copy link
Contributor

BorghildSelle commented Nov 7, 2024

  • Set up webhook similar to newsletter triggering in Sanity,
    that when a new news article (which should update newsroom) is published a workflow for building and deploying new web global is triggered.
  • Change newsrooms to statically build pages, remove ssr configurations.
  • Take back Algolia filters/hits and can remove the request to fetch newsarticles from sanity.
@BorghildSelle BorghildSelle changed the title Algolia issue Discuss and find solution to handle high traffic on newsroom Nov 15, 2024
@BorghildSelle BorghildSelle changed the title Discuss and find solution to handle high traffic on newsroom Change newsroom to statically built and trigger build/deploy with Sanity webhook Dec 6, 2024
@padms padms self-assigned this Dec 6, 2024
padms added a commit that referenced this issue Dec 9, 2024
padms added a commit that referenced this issue Dec 9, 2024
padms added a commit that referenced this issue Dec 9, 2024
padms added a commit that referenced this issue Dec 9, 2024
padms added a commit that referenced this issue Dec 9, 2024
@padms
Copy link
Contributor

padms commented Dec 18, 2024

@meols Newsroom is back with Algolia..
Please test if publishing a news article is reflected immediately on the newsroom. ( If newsroom is already opened, it needs a refresh).
The newsroom page is revalidated similar to how the home page is revalidated for latest newsarticles

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

No branches or pull requests

2 participants