haskellfoundation.github.io icon indicating copy to clipboard operation
haskellfoundation.github.io copied to clipboard

[CI] Have GitHub Actions export built website to somewhere upon success

Open myShoggoth opened this issue 4 years ago • 5 comments

This could be to a different repo, a different branch, a submodule, some shared location that's easy to get to.

Ideally it would be a live integration server where we can just see the current version of the main branch.

myShoggoth avatar Apr 23 '21 22:04 myShoggoth

Ideally the main branch's CI would release to the production website, while any other branch would have its own (location easily determined based on the branch name) test website.

myShoggoth avatar Apr 26 '21 20:04 myShoggoth

Some commentary in this PR: https://github.com/haskellfoundation/haskellfoundation.github.io/pull/101#issuecomment-894332186

myShoggoth avatar Aug 06 '21 15:08 myShoggoth

This is partially done, the hakyll branch, when built, does export the site to the main branch, which is then live. However, we do not currently have a staging area for PRs / other branches.

myShoggoth avatar Nov 08 '21 21:11 myShoggoth

Working on it.

visortelle avatar Dec 29 '21 11:12 visortelle

I created a pull request for this issue. https://github.com/haskellfoundation/haskellfoundation.github.io/pull/170

Please take a look. I hope that bash doesn't scare you too much. But if it is, I'm ready to discuss how to implement it in a better way.

visortelle avatar Dec 30 '21 11:12 visortelle