Skip to content

feature: support batch deploymentsΒ #223

@airtonix

Description

@airtonix

Saving every little change results in waiting insert build time here before seeing changes live.

Until then technical users don't always know what's happening.
Those users which do not understand or know that git is underneath keystatic will be confused when they click "publish/save" and it doesn't show up on the site straight away. You can tell them many times: "yada yada yada, it takes 10 minutes to deploy", but they'll forget. (I know, I recently had to deal with this in a side project)

Ways to handle this:

  1. the editorial workflow feature: editorial workflowΒ #222: the kanban board can have an extra column:
  • so when items get approved then behind the scenes they get moved from their individual PRs into a grouped PR
  • The new item in the deploy column will have a button to deploy the group or to break individual items out of the group into their own deployment
  1. With and Without the editorial workflow, some kind of global indicator that indicates a deployment is ongoing. the github api can be used to periodically interrogate the deployment status associated with the deployed PR.

DecapCMS does 2 but only cares about the deployment status for the purposes of displaying a "preview page" within PRs and not indicating that a PR has been merged and its deployment is in flight.

Finally there's probably something interesting that can be done by utilising merge queues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions