adding indexing html
This commit is contained in:
11
.github/workflows/update-repo.yml
vendored
11
.github/workflows/update-repo.yml
vendored
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user