Files
bbaovanc.com/demo.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
185 B
Bash
Executable File

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