Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bb.sh')
-rwxr-xr-xbb.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bb.sh b/bb.sh
index 8629d07..d2f518e 100755
--- a/bb.sh
+++ b/bb.sh
@@ -972,6 +972,7 @@ make_sitemap() {
mv "$sitemapfile" "$blog_sitemap"
chmod 644 $blog_sitemap
+ [[ $git_repo == true ]] && git add $blog_sitemap
}
# Generate the feed file