From dfb3cba95f8da6c4e95f6eb827b1b9b22caf0991 Mon Sep 17 00:00:00 2001 From: Xpirix Date: Thu, 6 Feb 2025 14:50:06 +0300 Subject: [PATCH] Fix deploy command in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7301ee2..00bae9a 100644 --- a/Makefile +++ b/Makefile @@ -29,14 +29,14 @@ deploy: ## Deploy the site for planet.qgis.org @echo "------------------------------------------------------------------" @echo "Deploy site in production" @echo "------------------------------------------------------------------" - git pull && rm -rf archive; mkdir archive; mv public archive; make build + git pull && rm -rf archive; mkdir archive; mv public_prod archive; make build revert-deploy: ## Revert the site for planet.qgis.org @echo @echo "------------------------------------------------------------------" @echo "Revert to the previous state in production" @echo "------------------------------------------------------------------" - rm -rf public; cp -r archive/public ./ + rm -rf public_prod; cp -r archive/public_prod ./ # ---------------------------------------------------------------------------- # D E V E L O P M E N T C O M M A N D S