Files
bbaovanc.com/staging.sh
BBaoVanC d450249171 Use separate dirs for building in demo.sh and staging.sh [skip ci]
Otherwise if you happen to be using `hugo serve` at the same time, it
overwrites stuff and messes up your live preview until you rebuild
(restart the hugo serve server)
2025-07-02 02:13:44 -05:00

5 lines
197 B
Bash
Executable File

#!/bin/sh -ex
./audit.sh
DEST=public.staging/ ./build.sh --baseURL "https://demo.bbaovanc.com/staging/$1"
rsync -avPzc --delete-delay public.staging/ bbaosrv:/var/www/demo.bbaovanc.com/staging/$1/