LOG 027

2026/12/04

★ Vacation

  • Cleaned up some build and publishing scripts.

  • Had an extended visit with my family (since it's been a while since I've seen them).

This week is my last full week on vacation. I will be back to normal work on this upcoming Wednesday.

I am happy with the changes I was able to make to my website publishing script, however.

It works something like this:

website <target-site> <commands>... <options>...

I own a few different static websites, so this targets a specific one and then lets me run a series of commands.

  • diff: Diffs the live site snapshot with the local site
  • generate: Generates the local site
  • monitor: Monitors the live site with optional local log data
  • pull: Pulls a snapshot of the live site
  • pull-logs: Pulls a snapshot of the live logs
  • push: Pushes the local site to be the new live site

So, for instance, if I want to start monitoring the access logs for my site, I can just: website sigseis.dev pull-logs monitor

Or, if I want to diff the live site with my local version, I can just website sigseis.dev generate pull diff (opens a folder diff).

Most commonly, I’m monitoring and generating, however. I only diff just before a push to see what’s going to go live.