@@ 102,6 102,11 @@ tasks:
cd /home/build/pages
tar -czvf /home/build/site.tar.gz .
- publish_pages: |
+ # The srht.bigb.es OAuth worker writes the per-service origin
+ # `http://pages:5112` (internal docker-compose hostname) into
+ # ~/.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