adding indexing html v3
This commit is contained in:
4
.github/workflows/update-repo.yml
vendored
4
.github/workflows/update-repo.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
cd x86_64
|
cd x86_64
|
||||||
# Rebuild the DB (Manual tar to ensure compatibility)
|
# Rebuild the DB (Manual tar to ensure compatibility)
|
||||||
tar -cvzf hyprarch-repo.db.tar.gz *.pkg.tar.zst
|
tar -cvzf hyprarch-repo.db.tar.gz *.pkg.tar.zst
|
||||||
|
|
||||||
# Fix symlinks for GitHub Pages
|
# Fix symlinks for GitHub Pages
|
||||||
rm -f hyprarch-repo.db hyprarch-repo.files
|
rm -f hyprarch-repo.db hyprarch-repo.files
|
||||||
cp hyprarch-repo.db.tar.gz hyprarch-repo.db
|
cp hyprarch-repo.db.tar.gz hyprarch-repo.db
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "</pre><hr></body></html>" >> index.html
|
echo "</pre><hr></body></html>" >> index.html
|
||||||
|
|
||||||
# 2. Create index for the Root folder
|
# 2. Create index for the Root folder
|
||||||
cd ..
|
cd ..
|
||||||
echo "<html><head><title>Index of /</title></head><body>" > index.html
|
echo "<html><head><title>Index of /</title></head><body>" > index.html
|
||||||
|
|||||||
Reference in New Issue
Block a user