oliverdavies.uk/tools/scripts/publish

9 lines
219 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/ nixedo.local:/var/www/vhosts/website-sculpin "$@"