adding indexing html

This commit is contained in:
2026-03-11 17:22:22 +00:00
parent aff0e86e6c
commit 4688f738c8
2 changed files with 40 additions and 1 deletions

View File

@@ -42,7 +42,16 @@ jobs:
else
echo "No packages found."
fi
- name: Generate Package Index
run: |
echo "<html><body><h1>Package Index</h1><ul>" > index.html
for file in x86_64/*.pkg.tar.zst; do
filename=$(basename "$file")
echo "<li><a href='./x86_64/$filename'>$filename</a></li>" >> index.html
done
echo "</ul></body></html>" >> index.html
- name: Commit and Push changes
run: |
git config --global user.name "github-actions[bot]"