From 6cd62711b5c22d8f8202b5e738077e3e5e50fc86 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Sat, 28 Dec 2019 09:58:13 +0100 Subject: [PATCH] Amend Makefile to update sitemap. --- Makefile | 5 ++++- sitemap.xml | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c14905a..9d84aec 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ .PHONY: upload -upload: assets/main.css +upload: assets/main.css sitemap.xml rsync -r --exclude .git/ --exclude src/ --exclude node_modules/ . doktorkraus.de:/var/www/bovender assets/main.css: src/component.scss src/config.scss src/bovender.scss yarn exec webpack + +sitemap.xml: index.html privacy.html + sed -i -E "s/mod>[^<]*/mod>$$(date --rfc-3339=date)/" sitemap.xml diff --git a/sitemap.xml b/sitemap.xml index d0aa09b..f741547 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,8 +1,14 @@ https://www.bovender.de/ - 2019-12-23 + 2019-12-28 monthly 1.0 + + https://www.bovender.de/privacy.html + 2019-12-28 + monthly + 0.5 +