added CI/CD for doublecmd and removed comented out shite from rdpconnect CI/CD
This commit is contained in:
42
.gitea/workflows/deploy_doublecmd.yaml
Normal file
42
.gitea/workflows/deploy_doublecmd.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
name: com.angoosh.doublecmd deploy
|
||||||
|
run-name: ${{ gitea.actor }}
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
# paths:
|
||||||
|
# - com.angoosh.doublecmd/**
|
||||||
|
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: Import GPG key
|
||||||
|
uses: crazy-max/ghaction-import-gpg@v6
|
||||||
|
with:
|
||||||
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASS }}
|
||||||
|
|
||||||
|
- name: "Build"
|
||||||
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
|
with:
|
||||||
|
bundle: doublecmd.flatpak
|
||||||
|
manifest-path: com.angoosh.doublecmd/com.angoosh.doublecmd.yml
|
||||||
|
cache-key: flatpak-builder-${{ gitea.sha }}
|
||||||
|
gpg-sign: kaplanantonin@gmail.com
|
||||||
|
|
||||||
|
- name: Push flatpak to repo
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/flatpak/flat-manager.git
|
||||||
|
export REPO_TOKEN=${{ secrets.FLATMAN_API_TOKEN }}
|
||||||
|
export FLATMAN_URL=$(./flat-manager/flat-manager-client create https://flatpak.angoosh.com stable)
|
||||||
|
echo $REPO_TOKEN
|
||||||
|
echo $FLATMAN_URL
|
||||||
|
./flat-manager/flat-manager-client push --commit $FLATMAN_URL repo
|
||||||
|
./flat-manager/flat-manager-client publish $FLATMAN_URL
|
||||||
@@ -22,11 +22,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASS }}
|
passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASS }}
|
||||||
# - name: Push flatpak to repo
|
|
||||||
# run: |
|
|
||||||
# git clone https://github.com/flatpak/flat-manager.git
|
|
||||||
# export REPO_TOKEN=${{ secrets.FLATMAN_API_TOKEN }}
|
|
||||||
# ./flat-manager/flat-manager-client create https://flatpak.angoosh.com stable
|
|
||||||
- name: "Build"
|
- name: "Build"
|
||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user