nushell / demo

Experimental wasm-based Nu playground
https://www.nushell.sh/demo/
MIT License
24 stars 10 forks source link

GitHub actions deploy pages #32

Closed jzaefferer closed 4 years ago

jzaefferer commented 4 years ago

TODOs:

Fixes #21

jzaefferer commented 4 years ago

So far, so good: https://github.com/nushell/wasm-nu/tree/gh-pages

@jonathandturner could you enable the Pages feature for the gh-pages branch?

Once that is done it works as expected, I'll update this PR to restrict the deploy to the main branch.

jzaefferer commented 4 years ago

Btw. 7m 23s to compile wasm-nu in the GitHub Actions runner. I assume that's going to run from scratch for every push to main, since those runners don't share anything. I wonder if there's some way to reuse the compiled dependencies that mostly don't change.

I found https://github.com/actions/cache/blob/master/examples.md#rust---cargo - not sure what exactly that caches.

sophiajt commented 4 years ago

@jzaefferer - okay, the gh-pages branch is being selected for this repo.

sophiajt commented 4 years ago

(and yeah, we should definitely figure out how to improve the build times. I'd like that for main Nu also)