-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate sitemap on site deployment. #2335
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions.
@@ -15,13 +15,7 @@ | |||
name: Check Licenses | |||
on: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you want just "on: [push, pull_request]"?
How about other workflows? #2229
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to just pull_request
for all workflows bar releasing the tool or deploying the site. None of the workflows that check for a pristine state modify the state of the repo after merging a PR, so this should be sufficient until that's no longer the case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want workflows to run on push. This visually ends up as a green check mark on the branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added for the sake of validation.
Fixes #2273 by providing a
sitemap.xml
to be indexed by search console tools once it's hosted on kpt.devFixes #1662 by relatedly prioritizing kpt.dev results over the old documentation site (already blocked on search)
Fixes #2229 by removing branch specificity on all workflows that check the validity of content (docs, licenses, site) to be picked up on branches of
main
. Workflows that testkpt
directly also have no branch specificity to ensure legacy branches ofmain
don't experience regressions but also ignore changes to docs or site content.