chore: add latest
as a default hash
This commit is contained in:
parent
5049981f90
commit
f0d0e2796c
2
run
2
run
|
@ -51,7 +51,7 @@ function help {
|
||||||
|
|
||||||
function artifact:build {
|
function artifact:build {
|
||||||
DESTINATION_PATH="${2:-/var/www/oliverdavies.uk}"
|
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.
|
# Clean up any old containers or files within the artifact directory.
|
||||||
rm -fr ${DESTINATION_PATH}/* || true
|
rm -fr ${DESTINATION_PATH}/* || true
|
||||||
|
|
Loading…
Reference in a new issue