From 8a7fc109e243ff3d6776c4c9c3de972670951ff9 Mon Sep 17 00:00:00 2001 From: X9 Dev Date: Fri, 29 May 2026 17:21:02 +0200 Subject: [PATCH] ci: make deploy.json update non-fatal The step uses `docker exec xetup-web`, which needs the docker socket in the job container (runner container.docker_host is "-", so it is absent). It runs after the signed release is published and only refreshes a cosmetic "last build" indicator, so its failure must not fail the build. Co-Authored-By: Claude Opus 4.8 --- .forgejo/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 2c572d4..56d0ee6 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -133,6 +133,11 @@ jobs: echo "Released xetup.exe (commit ${SHORT})" - name: Update deploy.json + # Cosmetic "last build" indicator. Requires docker.sock in the job + # container (runner container.docker_host). Non-fatal: the signed + # release is already published by this point, so a failure here must + # not fail the build. + continue-on-error: true run: | SHORT=$(echo "${{ github.sha }}" | cut -c1-7) TS=$(date -u +%Y-%m-%dT%H:%M:%SZ)