Is it possible to schedule a post in Quarto? #3114
Replies: 5 comments 13 replies
-
I'm not sure about how Github would support scheduled rendering of documents, but one thing I can point to being a piece of the puzzle is the |
Beta Was this translation helpful? Give feedback.
-
You could set a CRON task in GitHub Actions and setup some workflow/steps to remove any draft or simply render the website/document.
|
Beta Was this translation helpful? Give feedback.
-
I tried my hand at implementing the filter described by @cscheid . It can be found here: https://github.com/andrewpbray/scheduled-posts It seems to work at appending https://github.com/andrewpbray/scheduled-posts-example/tree/1ec797df398934079c3d6bc47b7c4d7129616222 Any ideas on how to troubleshoot this? My go-to solution has been rendering to native format and inspecting the AST, but ps: the way this filter does the date comparison, using |
Beta Was this translation helpful? Give feedback.
-
@cscheid Here's an approach that does seem to work: https://github.com/andrewpbray/scheduled-posts-example It uses a pre-render script that edits the It's not as elegant as calling a filter, but it has the advantage of making the future posts completely absent from the website (instead of just unlinked). |
Beta Was this translation helpful? Give feedback.
-
@maikol-solis I think I've finally settled upon a robust way to do this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have set it up a quarto blog in github, but I am wondering if it's possible to schedule my posts to some specific day in the future?
I appreciate any advise or workflow in the matter.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions