-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (40 loc) · 1.05 KB
/
flatpak.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Build Flatpak
on:
workflow_dispatch:
jobs:
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
image: ghcr.io/andyholmes/flatter/freedesktop:24.08
options: --privileged
steps:
- uses: actions/checkout@v4
- name: Setup GPG
id: gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: andyholmes/flatter@main
with:
files: com.github.mpvqc.mpvQC.yml
gpg-sign: ${{ steps.gpg.outputs.fingerprint }}
upload-pages-artifact: true
upload-pages-includes: |
mpvQC.flatpakref
deploy:
name: Deploy
if: ${{ github.ref == 'refs/heads/main' }}
needs: flatpak
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: GitHub Pages
id: deployment
uses: actions/deploy-pages@v4