4 ms·
Can't agree with this more. All you need is a simple rakefile[0] that does it for you. I have something like this for myself - prakhar1989.github.com git/mas
by krat0sprakhar 12y ago
Can't agree with this more. All you need is a simple rakefile[0] that does it for you. I have something like this for myself -
prakhar1989.github.com git/master*
$ rake
rake default # List tasks
rake draft # Create a new draft in ./_drafts
rake post # Create a new post in ./_posts
rake preview # Live Preview (use mode=drafts for drafts)
rake publish # Push to github
[0] - https://github.com/prakhar1989/prakhar1989.github.com/blob/master/Rakefile https://github.com/prakhar1989/prakhar1989.github.com/blob/m...
- ojilles 12y agoI have the same, with one addition (that would be running at the end of your 'publish' step): a 47-line bash script that will spider the whole site to find any internal 404 links. https://github.com/ojilles/jilles.net/blob/master/_bin/wget-test.sh https://github.com/ojilles/jilles.net/blob/master/_bin/wget-... (Poorly implemented but works for me)