added proxy to publish job
This commit is contained in:
parent
20c99564e8
commit
a18abf2e7b
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ packages:
|
||||||
- uv
|
- uv
|
||||||
environment:
|
environment:
|
||||||
site: ficd.ca
|
site: ficd.ca
|
||||||
|
proxy: ficd.srht.site
|
||||||
repo: ficd.ca
|
repo: ficd.ca
|
||||||
zonaref: git+https://git.sr.ht/~ficd/zona@d739ef5d95f2f508658b357ac61e39309da892ad
|
zonaref: git+https://git.sr.ht/~ficd/zona@d739ef5d95f2f508658b357ac61e39309da892ad
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -27,6 +28,7 @@ tasks:
|
||||||
- upload: |
|
- upload: |
|
||||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||||
hut pages publish -d "$site" $repo/public.tar.gz
|
hut pages publish -d "$site" $repo/public.tar.gz
|
||||||
|
hut pages publish -d "$proxy" $repo/public.tar.gz
|
||||||
else
|
else
|
||||||
echo "Skipping upload: not on main"
|
echo "Skipping upload: not on main"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue