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