feat: Include content with publishdate in the future for staging
This commit is contained in:
parent
fabb09ed12
commit
e7237cd7b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue