st2docs icon indicating copy to clipboard operation
st2docs copied to clipboard

GitHub action to publish docs to GH Pages

Open mickmcgrath13 opened this issue 3 years ago • 3 comments

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 to stackstorm.github.io/st2docs. As a test, check out my forked repo: https://mickmcgrath13.github.io/st2docs/

mickmcgrath13 avatar Jun 07 '22 18:06 mickmcgrath13

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 07 '22 18:06 CLAassistant

@mickmcgrath13 Thanks! :rocket:

Could you please sign a CLA thing?

arm4b avatar Jun 08 '22 00:06 arm4b

@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.

mickmcgrath13 avatar Jun 15 '22 16:06 mickmcgrath13