-
Notifications
You must be signed in to change notification settings - Fork 11
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
Write a script to update site.time and add TRAVIS CI #1
Comments
I think Travis CI has a setup to run every day. Through, Travis CI, I guess this process can be automated. |
Hi @yokolet I merged your last PR. Thank you for it 💯 |
https://github.com/jirutka/rake-jekyll is promising. Travis CI hits rake task which hooks up a redeploy. |
Moving the other issue documentation here: If there is a way to prebuild Jekyll in Travis it would be nice to set it up for future contributors. |
For doumentation:
but I guess we can move it once the repo is public |
Hi @davidchambers, we need to discuss one thing. With the help of my great Travis friend Lisa we set up Travis now 🎉 If we want to use a What do you think about that? |
I'm not overly bothered by this, actually. Your proposed solution sounds straightforward and (I hope) reliable. Let's not complicate things. :) Also, go Lisa! 🎉 |
I have not been able to push commits from Travis CI (see #52 and #58 for my attempts). To get things going I created a script on my computer and told launchd to run it every 12 hours. The first run resulted in 6a1cb91. I'll keep an eye on the script for a few days to determine whether the approach is reliable. |
The script is working. It won't run if my computer is asleep, but I'm happy to put this issue to bed. :) |
My script has stopped working, so we should make another effort to get a Travis cron job to work. |
Jekyll would usually show old posts(=workshops) and no posts that have a future date. We turned the behavior around with these code lines:
This works fine. The only problem is that
site.time
only gets updated once we deploy. And we might not deploy everyday. (A deploy happens everytime we push to gh-pages branch.)💡 The idea is to write a script that updates
site.time
everyday.The text was updated successfully, but these errors were encountered: