From 417dc096ffc225bddc2747a39e028973c66cb591 Mon Sep 17 00:00:00 2001 From: Angoosh Leviocki Date: Thu, 13 Feb 2025 01:00:25 +0100 Subject: [PATCH] CI/CD edit --- .gitea/workflows/deploy_rdpconnect.yaml | 27 ++++++++++++++----------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/deploy_rdpconnect.yaml b/.gitea/workflows/deploy_rdpconnect.yaml index 6c8afe4..f673ad7 100644 --- a/.gitea/workflows/deploy_rdpconnect.yaml +++ b/.gitea/workflows/deploy_rdpconnect.yaml @@ -18,16 +18,19 @@ jobs: - 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 }} +# - 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 }} + - run: git clone https://github.com/flatpak/flat-manager.git + - run: export REPO_TOKEN=${{ secrets.FLATMAN_API_TOKEN }} + - run: export FLATMAN_URL=$(./flat-manager/flat-manager-client create https://flatpak.example.org stable) +# - 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 }}