Skip to content

Conversation

@crazy-max
Copy link
Member

Changes introduced by #15267 for last_modification_date don't pick up the right commit date for pages in the deploy workflow: https://docs-stage.docker.com/sitemap.xml. That's because actions/checkout doesn't fetch the history by default but Netlify does for previews. That's why we didn't catch this issue. Same applies with fetch_depth plugin, we need the history when deployed but we can keep depth: 1 with local builds for performance.

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@crazy-max crazy-max requested a review from dvdksn October 26, 2022 22:19
@netlify
Copy link

netlify bot commented Oct 26, 2022

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a96dd76
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/6359b285e4ab7900090ccf8d
😎 Deploy Preview https://deploy-preview-15993--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@dvdksn dvdksn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this so promptly!

@dvdksn dvdksn merged commit 8b7cc61 into docker:main Oct 27, 2022
@crazy-max crazy-max deleted the ci-fix-fetch-depth branch October 27, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants