ci: fix and revamp how we publish documentation with mike #402
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on: roedoejet/g2p#342
Just before merging this PR, we need to manually do
to restart the docs with this changed model. Otherwise, docs.yaml will fail with this error:
PR Goal?
Fix the broken documentation publication part of the publish workflow.
Fixes?
Fixes #401
Feedback sought?
Double check that the suggested publication model (i.e., mimicking g2p) is OK, and make sure the CI code is OK.
Priority?
Should be merged before the next tag push.
Tests added?
n/a
How to test?
Manually tested via temporary workflow in branch dev.ej/fix-publish-docs-testing
Workflow results: https://github.com/roedoejet/EveryVoice/actions/runs/8790552488
docs
is the usualdocs.yaml
, whiledoc-deploy
is copy-pasted frompublish.yaml
.Both fail as expected on
mike deploy
with the error "error: alias 'latest' already specified as a version" and will therefore work when I do the pre-requisite manual patch to branch gh-pages.Confidence?
High
Version change?
nope