Skip to content

Commit

Permalink
✏️ add sitemap.txt generation
Browse files Browse the repository at this point in the history
  • Loading branch information
tackyunicorn committed Aug 6, 2024
1 parent ff353d5 commit 9d6f16e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
sudo apt install pandoc minify
- name: Make pages
run: make
run: |
make
find pages -type f -name 'index.html' | sed -E 's|^pages|https://jjoseph.me|' > pages/sitemap.txt
- name: Upload pages
uses: actions/upload-pages-artifact@v3
Expand Down
3 changes: 3 additions & 0 deletions src/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *
Disallow:
Sitemap: https://jjoseph.me/sitemap.txt

0 comments on commit 9d6f16e

Please sign in to comment.