-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Is your feature request related to a problem? Please describe
When working on the examples, 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-integration-examples
.
That’s... not very friendly 😅
Describe the solution you'd like
Deploy a preview version of the examples 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
Implement the same solution as for maxGraph/maxGraph#889.
Additional context
The current website assumes it’s served under /maxgraph-integration-examples
. This is required by the sveltekit application to specify the context.
Any preview solution should keep this behavior, or we should adapt the config to support both root and subpath hosting.