Shell Script Automation (PREPARE_BLUEHOST)

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.sh

  • Functions:

    1. Rsyncs Digital_Garden/ to ../quartz/content/.

    2. Runs npx quartz build in the sibling directory.

    3. Zips the public output.

    4. Moves zip back to Vault root for easy upload.

  • Key Command: sh PREPARE_BLUEHOST_UPLOAD.sh