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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue