fix: Deploy error with closed pipe
see https://github.com/docker/compose/issues/8218
This commit is contained in:
parent
d9122917fc
commit
8ca72479d4
|
@ -58,7 +58,7 @@ prod() {
|
|||
hugo --minify --environment production
|
||||
node themes/hugo-theme-lowtech/scripts/typo
|
||||
#DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +
|
||||
docker-compose --context $DOCKER_CONTEXT -f docker-compose.prod.yml up -d --build --force-recreate
|
||||
COMPOSE_DOCKER_CLI_BUILD=0 docker-compose --context $DOCKER_CONTEXT -f docker-compose.prod.yml up -d --build --force-recreate
|
||||
}
|
||||
|
||||
staging() {
|
||||
|
@ -69,7 +69,7 @@ staging() {
|
|||
hugo --minify -DF --environment staging
|
||||
node themes/hugo-theme-lowtech/scripts/typo
|
||||
#DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +
|
||||
docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
|
||||
COMPOSE_DOCKER_CLI_BUILD=0 docker-compose --context $DOCKER_CONTEXT -f docker-compose.staging.yml up -d --build --force-recreate
|
||||
}
|
||||
|
||||
favicons() {
|
||||
|
|
Loading…
Reference in New Issue