GitHub action to publish docs to GH Pages
For https://github.com/StackStorm/st2docs/issues/1096
Things to note:
- This is a first test. I'll be unable to carry this further; I just wanted to help get it started
- The makefile updates the python version from 3.6 to 3.8 because that's whats provided in the GH Action runner
- The action cannot run until the action config file exists in the base branch of the repo (i.e.
master) - Once this is working, we'll still need to update DNS for
docs.stackstorm.com, but until then, you should be able to go tostackstorm.github.io/st2docs. As a test, check out my forked repo: https://mickmcgrath13.github.io/st2docs/
@mickmcgrath13 Thanks! :rocket:
Could you please sign a CLA thing?
@armab I did the CLA thing. I also updated the PR to remove circleci as I don't think it'd be needed anymore. It looks like it still wants check from CircleCI, though.
Also, this does not yet fully implement everything that the CircleCI pipeline does (i.e. it looks like it does branch-based deploys).
As I mentioned before, I'll be unable to work on this further, though I'd be happy to recreate the PR with a branch directly in StackStorm/st2docs (rather than a PR from my personal account) if that would help others wrap this up.