Skip to content

✨ Incremental Rebuild - Rebuild only modified pages on content change instead of full site deployment #4452

@Calinator444

Description

@Calinator444

Requested by: @Calinator444 via YakShaver.ai 🦬
cc: @amankumarrr, @Calinator444, @brookjeynes-ssw, @adamcogan, @babakamyljanovssw

Hi Team!

Β Β πŸŸ₯Β Β Watch the video (2 min 54 sec)

Pain

Improve the editing experience for ⭐ SSW Website (Dev - Next.js) by avoiding full site rebuilds when content is changed in Tina. Implement Tina webhooks that trigger Next.js on-demand revalidation to rebuild only the affected page route when content is pushed to main. This will significantly reduce deployment time and frustration for editors by replacing the current ~20 minute full rebuild with a targeted page rebuild.

Acceptance Criteria

  1. When a page is created or edited in Tina and merged to main, a webhook is triggered.
  2. The webhook passes the modified page route to the SSW Website Next.js application.
  3. Next.js on-demand revalidation rebuilds only the specified route without triggering a full site deployment.
  4. Content changes become live significantly faster than the current full rebuild process.
  5. Existing full rebuild pipeline on content change is disabled or bypassed once the webhook solution is confirmed working.
  6. Implementation aligns with the existing webhook approach used in SSW Rules.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

πŸ€·β€β™‚οΈ Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions