Skip to content

Commit 2a450b0

Browse files
authored
Merge pull request #46 from Xpirix/fix_makefile
Fix deploy command in Makefile
2 parents 71a3437 + dfb3cba commit 2a450b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ deploy: ## Deploy the site for planet.qgis.org
2929
@echo "------------------------------------------------------------------"
3030
@echo "Deploy site in production"
3131
@echo "------------------------------------------------------------------"
32-
git pull && rm -rf archive; mkdir archive; mv public archive; make build
32+
git pull && rm -rf archive; mkdir archive; mv public_prod archive; make build
3333

3434
revert-deploy: ## Revert the site for planet.qgis.org
3535
@echo
3636
@echo "------------------------------------------------------------------"
3737
@echo "Revert to the previous state in production"
3838
@echo "------------------------------------------------------------------"
39-
rm -rf public; cp -r archive/public ./
39+
rm -rf public_prod; cp -r archive/public_prod ./
4040

4141
# ----------------------------------------------------------------------------
4242
# D E V E L O P M E N T C O M M A N D S

0 commit comments

Comments
 (0)