-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Feature Request: Scheduled posts #263
Comments
Would like to see this too. Another feature that is relied on for those migrating from the WordPress community. |
I think the scheduler linked in the OP is a great approach. For our purposes, we should probably use metadata instead of PR comments. At a minimum, implementing this in the CMS would require:
This could all be eventually accomplished via higher level abstractions, maybe some sort of Events API, but we're not there yet. Getting this in place can at least help inform such abstractions in the future. Another future improvement is backends-as-plugins, which could also be used within serverless functions like this. Thoughts? |
The biggest barrier I see to this is actually posting the scheduled post without having the CMS open. Since we run in-browser only, there is no actual server to run the post. @erquhart Are you planning on actually using the Serverless stack, or is there another idea you had on this? |
Right, Netlify CMS has no way to handle this itself. The OP example would use a Lambda function running a cron job, just as the linked article describes. |
@erquhart could we do something with Netlify functions now that that's a thing? |
You'd need to schedule the function call from the CMS somehow. Not sure how that would work, even if you include a scheduling service like Zapier. Sent with GitHawk |
i feel like something along the lines of https://www.nczonline.net/blog/2018/03/scheduling-jekyll-posts-netlify/ would work, although probably not with Netlify functions since it needs CloudWatch for the cron. |
Ideally, every asset (a post, a page, an image, etc) would have the ability to be scheduled. Atomic scheduling. |
Is anyone already working on this? If not, I can contribute. |
That'd be great - what do you have in mind? |
Waiting for some news about this |
Me too lol |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please, stay open. |
This is a fantastic idea. What if we somehow used GitHub actions in the users repo to accomplish this? (See this post around how something like this might be accomplished) I am happy to add this into the v3 UI mocks to show you how it might look visually if this is something we are looking into doing. |
This is a very good thought. I think the CMS could provide a UI over different services CI pipelines (where available) and auto generate flows to support scheduling. |
For those looking for solutions in the meantime, if you have CI with scheduled workflow/builds (CircleCI & Travis), one idea to set up without Zapier:
|
Just wanted to add another example I came across where someone is using GitHub Actions co accomplish this task. Based on what @papistan said, I was thinking about a very similar idea for GitLab. One could hypothetically schedule a pipeline for ever X interval which has a single Job that looks at some criteria (perhaps a yml file in each Merge Request branch) and merges any branches that are ready to be published. |
Is there any news on this one? Having a use case where scheduled blog posts would relieve a lot of pain points. |
|
This would be a great addition
Serverless has a nice way to do scheduled posts. This would be a great addition to the CMS, but would require some sort of AWS connection, which does not currently exist.
Starting this discussion in hopes that it will get added to an eventual feature roadmap.
https://serverless.com/blog/static-site-post-scheduler/
The text was updated successfully, but these errors were encountered: