Add repo index page

This commit is contained in:
Marty Oehme 2025-03-05 14:45:23 +01:00
parent b4a17bb6a8
commit 2417fb1bde
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -149,6 +149,13 @@ jobs:
for pkg in *.xbps; do sha256sum "$pkg" | tee "$pkg".sha256sum; done
for pkg in *.xbps; do sha512sum "$pkg" | tee "$pkg".sha512sum; done
- name: Create simple index page for repo
working-directory: hostdir/binpkgs/
run: |
echo '<html><head><title>Index of /</title></head> <body><h1>Index of /</h1><hr><pre>' > index.html
for pkg in *.xbps; do echo "<a href=\"${pkg}}\">${pkg}</a>" >> index.html; done
echo '</body></html>' >> index.html
- name: publish to pages
uses: peaceiris/actions-gh-pages@v4
# If you're changing the branch from main,