static-export-template icon indicating copy to clipboard operation
static-export-template copied to clipboard

Notebook preview for PRs

Open greimel opened this issue 3 years ago • 1 comments

It would be really cool, if notebooks were also built for PRs. Though rather than uploading them to gh-pages it would be nice to just upload them as artifacts for a preview (e.g. using actions/upload-artifact@v2.)

I couldn't figure out how to do this in one action, so that gh-pages and the artifact preview share the cache correctly.

greimel avatar Oct 14 '21 16:10 greimel

Working on this, I found workflow-artifact-pull-request-comment helpful to leave a link to the artifacts in the comments.

As to cache sharing, the PR branch could read the base/default branch's cache but not the other way around, AFAIK.

sosiristseng avatar Dec 16 '21 01:12 sosiristseng