chore: add latest as a default hash

This commit is contained in:
Oliver Davies 2021-11-11 12:00:00 +00:00
parent 5049981f90
commit f0d0e2796c

2
run
View file

@ -51,7 +51,7 @@ function help {
function artifact:build {
DESTINATION_PATH="${2:-/var/www/oliverdavies.uk}"
GIT_COMMIT_HASH=$1
GIT_COMMIT_HASH="${1:-latest}"
# Clean up any old containers or files within the artifact directory.
rm -fr ${DESTINATION_PATH}/* || true