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 @@ # ~/.config/hut/config. Override with the public origin before # 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