oliverdavies.uk/tools/scripts/publish

9 lines
230 B
Bash
Executable file

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
vendor/bin/sculpin generate --env prod
rsync -uvrP static/ output_prod "$@"
rsync -uvrP output_prod/ ssh.oliverdavies.uk:/var/www/vhosts/www.oliverdavies.uk "$@"