1 rake new_post
rake new_post[title] # Begin a new post in source/_posts
2 rake preview
http://samxu.dev to preview
3 rake watch
can watch the site and regenerate when it changes
4 rake generate and deploy
rake deploy # Default deploy task
rake gen_deploy # Generate website and deploy
rake generate # Generate jekyll site
5 github commit
git push origin source
时间: 2024-10-19 14:12:06