Skip to content

Commit

Permalink
commit gpg pub key
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Nov 15, 2024
1 parent 275d685 commit be509d6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/flatpak-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ jobs:
# Add to git
git add "$APPDATA"
# Add a commit step for the appdata changes
- name: Commit appdata changes
run: |
cd flatpak-repo
Expand All @@ -242,3 +241,21 @@ jobs:
echo "::error::Failed to push appdata.xml to gh-pages branch"
exit 1
fi
- name: Export Public Key
run: |
cd flatpak-repo
# Export the public key in ASCII armor format
gpg --armor --export ${{ secrets.GPG_KEY_ID }} > futr.gpg
git add futr.gpg
- name: Commit GPG key
run: |
cd flatpak-repo
if ! git commit -m "Update GPG public key"; then
echo "::warning::No changes to GPG key"
fi
if ! git push origin gh-pages; then
echo "::error::Failed to push GPG key to gh-pages branch"
exit 1
fi
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@ The name 'futr' was chosen out of respect for the honorable Canadians.

Install via Flatpak:

#### Stable Release

First, import the repository signing key:

```bash
flatpak remote-add --if-not-exists futr-stable https://flatpak.futrnostr.com/repo-stable
flatpak install com.futrnostr.futr
curl -fsSL https://flatpak.futrnostr.com/futr.gpg | gpg --import
```

Then add the repository and install:

```bash
flatpak remote-add --if-not-exists futr-stable https://flatpak.futrnostr.com/futr-stable
flatpak install futr-stable com.futrnostr.futr
```

Or for the continuous builds:
#### Development Builds

```bash
flatpak remote-add --if-not-exists futr-continuous https://flatpak.futrnostr.com/repo-continuous
Expand Down

0 comments on commit be509d6

Please sign in to comment.