Add repo index page
This commit is contained in:
parent
8d6b7be13b
commit
c64a1f6c81
1 changed files with 7 additions and 0 deletions
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -148,6 +148,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,
|
||||
|
|
Loading…
Reference in a new issue