1
0
mirror of https://github.com/MultiMote/niimblue synced 2026-01-19 19:37:11 +03:00

Generate Sitemap

This commit is contained in:
MultiMote
2024-09-05 14:09:04 +03:00
parent 2d490b4f66
commit a49f3df00d

View File

@@ -59,6 +59,19 @@ jobs:
env:
COMMIT_HASH: ${{github.sha}}
- name: Generate Sitemap
run: |
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
<url>
<loc>$PAGE_URL</loc>
<lastmod>$LAST_MODIFIED</lastmod>
</url>
</urlset>" > ./niimblue/dist/sitemap.xml
env:
PAGE_URL: ${{ steps.pages.outputs.base_path }}
LAST_MODIFIED: ${{ github.event.repository.updated_at }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: