Skip to content

Deploy preview website for each Pull Request #889

@tbouffard

Description

@tbouffard

Is your feature request related to a problem? Please describe

When working on the website (e.g. docs or homepage), it’s currently hard to preview changes made in a PR.

The build is done via GitHub Actions, but no preview is exposed.
To test it, you have to download the artifact and run a local server at /maxGraph.
That’s... not very friendly 😅


Describe the solution you'd like

Deploy a preview version of the website for every Pull Request.
It should be hosted on a public URL to make review easier.
Remember that the website is a static site only, so simple solutions should be available for such use cases.

Bonus: it should also work when the PR comes from a fork (i.e. external contributors).


Describe alternatives you've considered

Here are some possible solutions:

More comparison: https://www.latterly.org/vercel-competitors/


Additional context

The current website assumes it’s served under /maxGraph. This is required by docusaurus to specify the context.
Any preview solution should keep this behavior, or we should adapt the config to support both root and subpath hosting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions