diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml deleted file mode 100644 index 2098b1b..0000000 --- a/.github/workflows/update-repo.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Update Arch Repository - -on: - push: - paths: - - 'x86_64/*.pkg.tar.zst' - workflow_dispatch: - -jobs: - update-db: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y gnupg libarchive-tools - - - name: Install repo tools - run: | - sudo apt-get update - sudo apt-get install -y pacman-package-manager - - - name: Import GPG Key - run: | - echo "${{ secrets.GPG_PRIVATE_KEY }}" > private.key - gpg --batch --import private.key - rm private.key - - - name: Sign Packages - run: | - cd x86_64 - - for pkg in *.pkg.tar.zst; do - echo "Signing $pkg" - - echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes \ - --pinentry-mode loopback \ - --local-user 236328A7F2C2001E \ - --passphrase-fd 0 \ - --detach-sign "$pkg" - done - - - name: Build Repo Database (correct Arch way) - run: | - cd x86_64 - - rm -f hyprarch-repo.db* hyprarch-repo.files* - - repo-add --sign hyprarch-repo.db.tar.gz *.pkg.tar.zst - - - name: Export Public Key - run: | - gpg --export --armor 236328A7F2C2001E > x86_64/pubkey.gpg - - - name: Generate Simple Index Page - run: | - cd x86_64 - - echo "