Disable Google Analytics on preview builds#111
Merged
Conversation
Preview builds were firing page view events into the production GA property, inflating metrics with internal review traffic. Skip the @docusaurus/plugin-google-gtag plugin when DOCUSAURUS_IS_PREVIEW=true is set by pr-preview.yml.
Non-docs PRs were being blocked by branch protection because nothing was flipping the review-workflow status to success. stage-progression.yml handles it for docs PRs, but ci-build.yml needs to handle the non-docs path or those PRs can't merge.
|
✅ CI build passed for commit This PR does not touch documentation content under @usace-rmc/docs-admin may merge. |
|
📄 Preview deployed for commit https://usace-rmc.github.io/RMC-Software-Documentation-Previews/pr-111/ This preview updates automatically when new commits are pushed. Deleted when the PR closes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary