Skip to content
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

fix: Don't deploy future blog posts in production #646

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdjermanovic
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request?

A future blog post is a blog post with a publication date > current date. Those posts shouldn't appear on the site before their publication date.

Currently, if we have a future blog post merged, it indeed wouldn't appear in the list of blog posts on https://eslint.org/blog/. But it's still rendered, deployed, can be accessed, and appears in the sitemap and in the list of blog posts on its category page (e.g., https://eslint.org/blog/category/case-studies/).

What changes did you make? (Give an overview)

Updated .eleventy.js to completely ignore future blog posts, so they won't be rendered and deployed.

Related Issues

#645 (comment)

Is there anything you'd like reviewers to focus on?

@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Oct 3, 2024
Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for new-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/new-eslint/deploys/66fe5d93c9823300087a6799
😎 Deploy Preview https://deploy-preview-646--new-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for es-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/es-eslint/deploys/66fe5d93bf5d300008aafb29
😎 Deploy Preview https://deploy-preview-646--es-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for ja-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/ja-eslint/deploys/66fe5d9375dc4a0008c9cf44
😎 Deploy Preview https://deploy-preview-646--ja-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for zh-hans-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/zh-hans-eslint/deploys/66fe5d938cd2140008a748a6
😎 Deploy Preview https://deploy-preview-646--zh-hans-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for hi-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/hi-eslint/deploys/66fe5d93fc3c1c0008f15f7d
😎 Deploy Preview https://deploy-preview-646--hi-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for pt-br-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/pt-br-eslint/deploys/66fe5d93b06314000866f49a
😎 Deploy Preview https://deploy-preview-646--pt-br-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for fr-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/fr-eslint/deploys/66fe5d93944c770008270f80
😎 Deploy Preview https://deploy-preview-646--fr-eslint.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 configuration.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for de-eslint ready!

Name Link
🔨 Latest commit a1706ef
🔍 Latest deploy log https://app.netlify.com/sites/de-eslint/deploys/66fe5d93b05c50000812b428
😎 Deploy Preview https://deploy-preview-646--de-eslint.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 configuration.

@mdjermanovic mdjermanovic mentioned this pull request Oct 3, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

1 participant