Files
Flatpaks/.gitea/workflows/deploy_rdpconnect.yaml
2025-02-12 21:14:11 +01:00

35 lines
1.1 KiB
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:
- name: "Base requirements"
run: apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible
#ansible-galaxy collection install community.general --force
#ansible-galaxy collection install ansible.posix --force
- name: "Check out repo code"
uses: actions/checkout@v4
- run: ls
- name: "Build"
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
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 }}