chore(ci): prevent 0.25.x tags from accidentally being deployed to docs.camunda.io #2172
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.
Part of #1173.
This PR is BLOCKING the deployment of 0.25 to unsupported.docs.camunda.io/0.25.
Description
Excludes any 0.25.x tags from the publish-prod workflow, so that a 0.25 isolated website isn't accidentally deployed to the main/supported/active docs site (docs.camunda.io).
The GitHub docs describe this approach of combining include & exclude tags, as well as the importance of the order.
Context for this PR is discussed here.
Testing
After this is merged, I'll tag a 0.25.x release, and make sure (1) the 0.25 site gets deployed to unsupported.docs.camunda.io, and (2) no deployment occurs to docs.camunda.io. If this change doesn't work, and the 0.25 site gets deployed to docs.camunda.io, I will immediately trigger another full-sized production publish to correct things.
Because of this risk of potential down-time, I'll save the tagging test for US evening time.
When should this change go live?
hold
label or convert to draft PR)?PR Checklist
/versioned_docs
directory, or they are not for an already released version./docs
directory (aka/next/
), or they are not for future versions.