chore: add latest
as a default hash
This commit is contained in:
parent
5049981f90
commit
f0d0e2796c
1 changed files with 1 additions and 1 deletions
2
run
2
run
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue