@@ -2,6 +2,7 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- "pages/**"
|
||||
- "blog/**"
|
||||
- "sitemap.sh"
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -4,7 +4,7 @@ set -eu
|
||||
|
||||
main() {
|
||||
echo "<urlset>"
|
||||
find pages/ -name '*.xhtml' | while read -r file; do
|
||||
find pages/ blog/ -name '*.xhtml' | while read -r file; do
|
||||
echo "<url><loc>https://purplebored.pl/${file}</loc><priority>1.0</priority></url>"
|
||||
done
|
||||
echo "</urlset>"
|
||||
|
||||
Reference in New Issue
Block a user