Skip to content

Automatically publish updated docs #2839

@samsrabin

Description

@samsrabin

It should be possible to host docs here without bloating clones (see discussion linked below) which would then enable us to publish updated docs automatically. I have a proof-of-concept here, which uses this workflow. As of 11fdc30, that workflow runs (a) on a push to main or (b) manually via the Actions tab.

  • Figure out how to generate different versions for ctsm5.0 vs. master. I think this might be helpful.

Just set up a workflow in the existing docs repo that checks for changes to docs/ on master in this repo and builds/deploys if it sees any.


Discussed in #2819

Originally posted by samsrabin October 7, 2024
CIME is able to generate documentation previews on PRs and automatically update their documentation upon pushes to master because they host their docs in the same repo as their code. Our use of the separate ctsm-docs repo makes this impossible (or at least difficult enough that I can't figure it out given my lack of Github workflow experience).

Metadata

Metadata

Assignees

Labels

devopsDevelopment Operations to improve development throughput, E.g., adding GitHub Workflowsdocumentationadditions or edits to user-facing documentation or its infrastructure

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions