From 87d4d76fe030c5cf12a4d046ad0a34a8874584eb Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 7 Feb 2026 18:40:42 -0800 Subject: [PATCH] Update readme --- Readme.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 60b7dbf..d122e50 100644 --- a/Readme.md +++ b/Readme.md @@ -54,7 +54,8 @@ Other targets: rbenv exec bundle exec bake mudge rbenv exec bundle exec bake beta rbenv exec bundle exec bake release -rbenv exec bundle exec bake watch +rbenv exec bundle exec bake watch target=debug +rbenv exec bundle exec bake clean rbenv exec bundle exec bake publish_beta rbenv exec bundle exec bake publish ``` @@ -63,9 +64,17 @@ rbenv exec bundle exec bake publish ```bash rbenv exec bundle exec bake new_draft "Post title" +rbenv exec bundle exec bake drafts rbenv exec bundle exec bake publish_draft public/drafts/post-title.md ``` +Published posts in `posts/YYYY/MM/*.md` require YAML front matter keys: + +- `Title` +- `Author` +- `Date` +- `Timestamp` + ## Tests And Lint ```bash @@ -78,9 +87,12 @@ Or via bake: ```bash rbenv exec bundle exec bake test rbenv exec bundle exec bake lint +rbenv exec bundle exec bake lint_fix ``` ## Notes - `bake watch` is Linux-only and requires `inotifywait`. -- Deployment uses `rsync` to the configured `mudge` host paths in `bake.rb`. +- Deployment uses `rsync` to host `mudge` (configured in `bake.rb`): + - production: `/var/www/samhuri.net/public` + - beta: `/var/www/beta.samhuri.net/public`