From 0345f3e8afdd0cc4e325d5eaa4d2ad38713675d2 Mon Sep 17 00:00:00 2001 From: Mitsuba100 <82495539+Mitsuba100@users.noreply.github.com> Date: Mon, 23 Mar 2026 15:14:58 +0100 Subject: [PATCH] Fix YAML syntax and update DB format in workflow --- .github/workflows/update-repo.yml | 71 +++++++++++++++---------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml index 902ae84..1649169 100644 --- a/.github/workflows/update-repo.yml +++ b/.github/workflows/update-repo.yml @@ -37,9 +37,8 @@ jobs: cp hyprarch-repo.db.tar.gz hyprarch-repo.db cp hyprarch-repo.files.tar.gz hyprarch-repo.files - - name: Generate Indices + - name: Generate Subfolder Index run: | - # 1. Create the BASIC PYTHON-STYLE index for the x86_64 folder cd x86_64 echo "Index of /x86_64/" > index.html echo "

Index of /x86_64/


" >> index.html
@@ -53,40 +52,38 @@ jobs:
           done
           echo "

" >> index.html - # 2. Create YOUR SPECIFIC LANDING PAGE for the Root folder - cd .. - 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 + - name: Generate Root Landing Page + run: | + echo ' + + + 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

+
+ + ' > index.html - name: Commit and Push changes run: | @@ -94,7 +91,7 @@ EOF 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 index indentation" + git commit -m "Fixed YAML syntax and DB format" git push else echo "Nothing to change."