From e7dba6335a24e78216d8f204ce5f64434cd7905d Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 22 Dec 2020 15:17:06 +0100 Subject: [PATCH] feat: Add draft on staging environment --- scripts/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run b/scripts/run index 9787fa5..c57af57 100755 --- a/scripts/run +++ b/scripts/run @@ -65,7 +65,7 @@ staging() { echo "🚀 Déploiement du site en mode staging 🚀" echo rm -rf public - hugo --minify --environment staging + hugo --minify -D --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