From e7237cd7b945d6445631b4d89128f51c28125754 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 27 Apr 2021 14:49:35 +0200 Subject: [PATCH] feat: Include content with publishdate in the future for staging --- scripts/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run b/scripts/run index ad00ca1..be0adee 100755 --- a/scripts/run +++ b/scripts/run @@ -41,7 +41,7 @@ install() { dev() { echo "🚧 Lancement du serveur pour le développement" - hugo server -D + hugo server -DF } dev_prod() { @@ -65,7 +65,7 @@ staging() { echo "🚀 Déploiement du site en mode staging 🚀" echo rm -rf public - hugo --minify -D --environment 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