diff --git a/scripts/run b/scripts/run index 8bf432a..a846de6 100755 --- a/scripts/run +++ b/scripts/run @@ -64,7 +64,7 @@ prod() { hugo --minify --environment production node themes/hugo-theme-lowtech/scripts/typo #DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} + - COMPOSE_DOCKER_CLI_BUILD=0 docker-compose --context $DOCKER_CONTEXT -f docker-compose.prod.yml up -d --build --force-recreate + DOCKER_CONTEXT=$DOCKER_CONTEXT docker compose -f docker-compose.prod.yml up -d --build --force-recreate } staging() { @@ -75,7 +75,7 @@ staging() { hugo --minify -DF --environment staging node themes/hugo-theme-lowtech/scripts/typo #DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} + - COMPOSE_DOCKER_CLI_BUILD=0 docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate + DOCKER_CONTEXT=$DOCKER_CONTEXT docker compose -f docker-compose.staging.yml up -d --build --force-recreate } favicons() {