From b659c69827ff5f85eafa5ce5985a8d7a5128a053 Mon Sep 17 00:00:00 2001 From: Eugene Blikh Date: Tue, 26 May 2026 07:58:42 +0300 Subject: [PATCH] publish.yml: restore artifacts block now that storage works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Job 148 reached the upload stage where 30347e5 didn't — admin has configured the artifact storage backend, so the four cacher binaries + checksums.txt are useful again as a 90-day-TTL view on the job page alongside the permanent pages.sr.ht copy. --- .builds/publish.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.builds/publish.yml b/.builds/publish.yml index 8be3e766f72841ffd8d52df88c31692892f753f7..364e408285761b8ea0769e36b6ed78831b58e0ab 100644 --- a/.builds/publish.yml +++ b/.builds/publish.yml @@ -130,3 +130,18 @@ tasks: # hut runs, or it can't reach the API from outside the cluster. sed -i 's|http://pages:5112|https://pages.srht.bigb.es|' ~/.config/hut/config hut pages publish -d "$PAGES_DOMAIN" -s "$PAGES_SUBPATH" /home/build/site.tar.gz + - stage_artifacts: | + # `artifacts:` paths resolve relative to /home/build. Copy the four + # binaries + checksums.txt into the top level so they're easy to + # reference (and to keep the page tarball clean of duplicates). + cp /home/build/pages/cacher-linux-amd64 /home/build/ + cp /home/build/pages/cacher-linux-arm64 /home/build/ + cp /home/build/pages/cacher-darwin-amd64 /home/build/ + cp /home/build/pages/cacher-darwin-arm64 /home/build/ + cp /home/build/pages/checksums.txt /home/build/ +artifacts: + - cacher-linux-amd64 + - cacher-linux-arm64 + - cacher-darwin-amd64 + - cacher-darwin-arm64 + - checksums.txt