feat: Add draft on staging environment

This commit is contained in:
Simon 2020-12-22 15:17:06 +01:00
parent a68983af31
commit e7dba6335a
1 changed files with 1 additions and 1 deletions

View File

@ -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