32 lines
903 B
YAML
32 lines
903 B
YAML
name: com.angoosh.RDPConnect deploy
|
|
run-name: ${{ gitea.actor }}
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
# paths:
|
|
# - com.angoosh.RDPConnect/**
|
|
jobs:
|
|
flatpak:
|
|
name: "Flatpak"
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
|
options: --privileged
|
|
|
|
steps:
|
|
- run: sudo dnf install -y nodejs
|
|
- name: "Check out repo code"
|
|
uses: actions/checkout@v4
|
|
- name: "Build"
|
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
|
with:
|
|
bundle: RDPConnect.flatpak
|
|
manifest-path: com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml
|
|
cache-key: flatpak-builder-${{ gitea.sha }}
|
|
- uses: flatpak/flatpak-github-actions/flat-manager@v6
|
|
name: "Deploy"
|
|
with:
|
|
repository: stable
|
|
flat-manager-url: https://flatpak.angoosh.com
|
|
token: ${{ secrets.FLATMAN_API_TOKEN }}
|