Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/build-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
name: build-flatpak

on:
workflow_call:
workflow_call:

push:
branches:
- flathub-release

jobs:
build-linux:
Expand Down Expand Up @@ -48,3 +52,14 @@ jobs:
# skip step when running under act-cli
if: |
env.ACT != 'true'

- name: Deploy release to Flathub
uses: flatpak/flatpak-github-actions/flat-manager@v4
with:
repository: flathub
flat-manager-url: https://flathub.org
token: ${{ secrets.FLATHUB_TOKEN }}
verbose: true
# only execute step when pushing to "flathub-release" branch
if: |
github.ref == 'refs/heads/flathub-release'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# flatpak bundle copied out from act-cli container for testing
# flatpak --user install --bundle ./io.github.bkueng.qMasterPassword
/io.github.bkueng.qMasterPassword
/.event.json
/.secrets

*.log

Expand Down