Shell Script Automation (PREPARE_BLUEHOST)#
Context#
Problem: Manual syncing between the Vault and the Quartz sibling directory is tedious and error-prone. Goal: One-click command to sync content, build the site, and package it for upload.
Implementation Notes#
Script:
PREPARE_BLUEHOST_UPLOAD.shFunctions:
Rsyncs
Digital_Garden/to../quartz/content/.Runs
npx quartz buildin the sibling directory.Zips the
publicoutput.Moves zip back to Vault root for easy upload.
Key Command:
sh PREPARE_BLUEHOST_UPLOAD.sh