Skip to content

Simplify workflows once GitHub releases PR previews #153

@vincerubinetti

Description

@vincerubinetti

GitHub is working on built-in support for deploy previews on PRs:
community/community#7730

It seems like the feature is in alpha right now, and my guess is it will be ready sometime this year (hopefully very soon!).

Once this becomes available, it will drastically simplify the template template:

  • A gh-pages branch will no longer be needed, and thus we can get rid of that step in the first time setup workflow.
  • rossjrw/pr-preview-action will no longer be needed.
  • The complicated separation and chaining of workflows can go away. Currently needed because a commit from one workflow cannot automatically trigger another workflow, but this will not apply to the built-in triggering of a Pages build. I expect to be able to cut down the number of files and lines of code in .github/workflows by half or more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions