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

GH action to update future-publish date posts, /events to sort what events are upcoming vs. past #1034

Open
amandavisconti opened this issue Aug 10, 2024 · 0 comments
Assignees

Comments

@amandavisconti
Copy link
Collaborator

amandavisconti commented Aug 10, 2024

GH Actions allows triggering a daily rebuild, which would handle moving past events out of upcoming events: https://stackoverflow.com/questions/24098792/how-to-force-github-pages-build/61706020#61706020

  1. Rebuilds /events by date so that today's and upcoming events are at top, past events are at bottom of page
  2. Allow people to save posts with future publication dates, and trigger the site to rebuild on that pub date so the post becomes visible then. (Note I don't think we need the "draft" part of these workflows.)

https://thedavecarroll.com/blog/publish-post-jekyll-on-a-schedule/
https://www.bobbyowolabi.com/2022/02/07/schedule-jekyll-posts-with-github
https://soywiz.com/autopublish-jekyll-drafts

@amandavisconti amandavisconti changed the title Check if action needed to update site events page to match current date re:what events are upcoming vs. past GH action to update future-publish date posts, /events to sort what events are upcoming vs. past Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Top priorities
Development

No branches or pull requests

2 participants