diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 000000000..47116375a --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,25 @@ +on: + push: + branches: [main] +name: Deploy +jobs: + flatpak: + name: "Flatpak" + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:gnome-nightly + options: --privileged + steps: + - uses: actions/checkout@v4 + - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 + name: "Build" + with: + bundle: re.sonny.Workbench.Devel.flatpak + manifest-path: build-aux/re.sonny.Workbench.Devel.json + cache-key: flatpak-builder-${{ github.sha }} + - uses: flatpak/flatpak-github-actions/flat-manager@v6 + name: "Deploy" + with: + repository: nightly + flat-manager-url: https://flat-manager.gnome.org/ + token: ${{ secrets.GNOME_NIGHTLY_TOKEN }}