added proxy to publish job

This commit is contained in:
Daniel Fichtinger 2025-07-09 19:32:38 -04:00
parent 20c99564e8
commit a18abf2e7b

View file

@ -5,6 +5,7 @@ packages:
- uv
environment:
site: ficd.ca
proxy: ficd.srht.site
repo: ficd.ca
zonaref: git+https://git.sr.ht/~ficd/zona@d739ef5d95f2f508658b357ac61e39309da892ad
tasks:
@ -27,6 +28,7 @@ tasks:
- upload: |
if [ "$GIT_REF" = "refs/heads/main" ]; then
hut pages publish -d "$site" $repo/public.tar.gz
hut pages publish -d "$proxy" $repo/public.tar.gz
else
echo "Skipping upload: not on main"
fi