Skip to content

Commit

Permalink
Merge pull request #46 from Xpirix/fix_makefile
Browse files Browse the repository at this point in the history
Fix deploy command in Makefile
  • Loading branch information
Xpirix authored Feb 10, 2025
2 parents 71a3437 + dfb3cba commit 2a450b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a450b0

Please sign in to comment.