diff --git a/.github/workflows/flatter.yml b/.github/workflows/flatter.yml index 32b3eee..7416d4c 100644 --- a/.github/workflows/flatter.yml +++ b/.github/workflows/flatter.yml @@ -155,6 +155,21 @@ jobs: # Update summary and sign the repository flatpak build-update-repo --generate-static-deltas --gpg-sign=${{ steps.gpg.outputs.fingerprint }} pages-repo + # Export GPG public key for manual import + gpg --export ${{ steps.gpg.outputs.fingerprint }} > pages-repo/pwsp.gpg + + # Generate a .flatpakrepo file for easy installation + GPG_BASE64=$(gpg --export ${{ steps.gpg.outputs.fingerprint }} | base64 -w 0) + cat < pages-repo/pwsp.flatpakrepo + [Flatpak Repo] + Title=PipeWire Soundpad + Url=https://arabianq.github.io/pipewire-soundpad/ + Homepage=https://github.com/arabianq/pipewire-soundpad + Comment=PipeWire Soundpad Flatpak Repository + Description=Official repository for PWSP + GPGKey=\${GPG_BASE64} + EOF + - name: Deploy Flatpak Repo to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: diff --git a/README.md b/README.md index f23ab84..0ad4b14 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Add our official OSTree repository and install the application: ```bash # Add the repository -flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/ +flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/pwsp.flatpakrepo # Install the Stable version flatpak install arabianq-repo ru.arabianq.pwsp//stable diff --git a/README.ru.md b/README.ru.md index 173c4c6..58616de 100644 --- a/README.ru.md +++ b/README.ru.md @@ -33,7 +33,7 @@ ```bash # Добавьте репозиторий -flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/ +flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/pwsp.flatpakrepo # Установите стабильную (Stable) версию flatpak install arabianq-repo ru.arabianq.pwsp//stable