feat: Add draft on staging environment
This commit is contained in:
parent
a68983af31
commit
e7dba6335a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue