From a377ba9d2c33cf66c09d264031e6b34be26841d0 Mon Sep 17 00:00:00 2001 From: "thomas g. lopes" Date: Mon, 9 Mar 2026 16:18:58 +0000 Subject: [PATCH] fix handy workflow and add push trigger for testing --- .gitea/workflows/handy-update.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/handy-update.yml b/.gitea/workflows/handy-update.yml index da02d5d..f3ccf77 100644 --- a/.gitea/workflows/handy-update.yml +++ b/.gitea/workflows/handy-update.yml @@ -1,6 +1,8 @@ name: handy update on: + push: + branches: [main] schedule: - cron: "40 6 * * *" workflow_dispatch: @@ -56,12 +58,16 @@ jobs: url="https://github.com/cjpais/Handy/releases/download/v${latest_version}/Handy_${latest_version}_amd64.AppImage" new_hash=$(nix store prefetch-file --json "$url" | python -c 'import json,sys; print(json.load(sys.stdin)["hash"])') + export LATEST_VERSION="$latest_version" + export NEW_HASH="$new_hash" + python - <