napari / napari.github.io

website for the napari image viewer
https://napari.org/
44 stars 43 forks source link

Add unversioned pages workflow to gh-pages branch #406

Closed melissawm closed 2 months ago

melissawm commented 2 months ago

@psobolewskiPhD and I have been trying to check the documentation for the workflow events and it is not clear if we should have the workflow on the main branch. This is a proposal to try having it in the gh-pages branch based on https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#about-workflow-triggers

melissawm commented 2 months ago

Well, it looks like this has finally worked and @psobolewskiPhD was right!!! https://github.com/napari/napari.github.io/actions/runs/9867863556

I'll send a PR to remove the action from the main branch and I think we are finally done 🎉

melissawm commented 2 months ago

Actually I'm not sure - it looks like this got triggered by a push to gh-pages when we merged this PR, but the workflow file mentioned in the actions is the one from main? I will keep watching for the next merge on napari or napari/docs and see what happens.

jni commented 2 months ago

So friggin confusing...

Genuinely though I'm not suuuuuper worried about having this be manual in the short term.

psobolewskiPhD commented 2 months ago

Not sure about the canceled jobs, but I think it's working?

image
psobolewskiPhD commented 2 months ago

Maybe it's concurrency settings in the workflows?

image
melissawm commented 2 months ago

Here's my understanding, which is not necessarily complete: