diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml index e4036f3..902ae84 100644 --- a/.github/workflows/update-repo.yml +++ b/.github/workflows/update-repo.yml @@ -29,10 +29,10 @@ jobs: # Use the real tool to build the database pacman expects ./repo-add hyprarch-repo.db.tar.gz *.pkg.tar.zst - # Clean up the tool so it doesn't get pushed to the repo + # Clean up the tool rm repo-add - # Fix symlinks for GitHub Pages (actual files instead of symlinks) + # Fix symlinks for GitHub Pages rm -f hyprarch-repo.db hyprarch-repo.files cp hyprarch-repo.db.tar.gz hyprarch-repo.db cp hyprarch-repo.files.tar.gz hyprarch-repo.files @@ -55,38 +55,38 @@ jobs: # 2. Create YOUR SPECIFIC LANDING PAGE for the Root folder cd .. - cat < index.html - - - - HyprArch Repository - - - -
-

🚀 HyprArch Custom Repository

-

To use this repository, add the following to your /etc/pacman.conf:

-
[hyprarch-repo]
+          cat <<'EOF' > index.html
+
+
+
+    HyprArch Repository
+    
+
+
+    
+

🚀 HyprArch Custom Repository

+

To use this repository, add the following to your /etc/pacman.conf:

+
[hyprarch-repo]
 SigLevel = Optional TrustAll
-Server = https://hyprarch-repo.stuple.net/\$arch
- -

📦 Available Packages

- -
-

Automated by GitHub Actions

-
- - - EOF +Server = https://hyprarch-repo.stuple.net/$arch
+ +

📦 Available Packages

+ +
+

Automated by GitHub Actions

+
+ + +EOF - name: Commit and Push changes run: | @@ -94,7 +94,7 @@ Server = https://hyprarch-repo.stuple.net/\$arch git config --global user.email "github-actions[bot]@users.noreply.github.com" git add . if ! git diff-index --quiet HEAD; then - git commit -m "Fixed DB format and updated indices" + git commit -m "Fixed DB format and index indentation" git push else echo "Nothing to change."