From d4a36aebfcc88c985f0e9a2591e50bcab8500055 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 6 May 2026 17:23:06 +0200 Subject: [PATCH] added deskflow-bin and reflex-appimage workflows --- .gitea/workflows/deskflow-bin.yaml | 32 +++++++++++++++++++++++++++ .gitea/workflows/reflex-appimage.yaml | 32 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .gitea/workflows/deskflow-bin.yaml create mode 100644 .gitea/workflows/reflex-appimage.yaml diff --git a/.gitea/workflows/deskflow-bin.yaml b/.gitea/workflows/deskflow-bin.yaml new file mode 100644 index 0000000..e951beb --- /dev/null +++ b/.gitea/workflows/deskflow-bin.yaml @@ -0,0 +1,32 @@ +--- +name: Update deskflow-bin Package + +on: + schedule: + - cron: "0 0 * * *" + +defaults: + run: + shell: bash + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: | + git config --global user.name "${GIT_NAME}" + git config --global user.email "${GIT_EMAIL}" + git config --global credential.helper store + echo "https://${GIT_EMAIL//@/%40}:${GITEA_TOKEN}@${GITEA_HOST}" > ~/.git-credentials + git clone --depth 1 https://${GITEA_HOST}/aur/deskflow-bin + cd deskflow-bin + source PKGBUILD + ./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|v||') + env: + GIT_NAME: ${{ vars.GIT_NAME }} + GIT_EMAIL: ${{ vars.GIT_EMAIL }} + GIT_HOST: ${{ vars.GIT_HOST }} + GIT_TOKEN: ${{ secrets.GIT_TOKEN }} diff --git a/.gitea/workflows/reflex-appimage.yaml b/.gitea/workflows/reflex-appimage.yaml new file mode 100644 index 0000000..244c27b --- /dev/null +++ b/.gitea/workflows/reflex-appimage.yaml @@ -0,0 +1,32 @@ +--- +name: Update reflex-appimage Package + +on: + schedule: + - cron: "0 0 * * *" + +defaults: + run: + shell: bash + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: | + git config --global user.name "${GIT_NAME}" + git config --global user.email "${GIT_EMAIL}" + git config --global credential.helper store + echo "https://${GIT_EMAIL//@/%40}:${GITEA_TOKEN}@${GITEA_HOST}" > ~/.git-credentials + git clone --depth 1 https://${GITEA_HOST}/aur/reflex-appimage + cd reflex-appimage + source PKGBUILD + ./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|v||') + env: + GIT_NAME: ${{ vars.GIT_NAME }} + GIT_EMAIL: ${{ vars.GIT_EMAIL }} + GIT_HOST: ${{ vars.GIT_HOST }} + GIT_TOKEN: ${{ secrets.GIT_TOKEN }}