renamed repo
This commit is contained in:
parent
abe7868240
commit
a16273a29a
3 changed files with 6 additions and 5 deletions
|
@ -5,11 +5,12 @@ packages:
|
|||
- uv
|
||||
environment:
|
||||
site: ficd.ca
|
||||
repo: ficd.ca
|
||||
zonaref: git+https://git.sr.ht/~ficd/zona@47be4986a50d0e921c1f2afa90fb9d029a5c2c85
|
||||
tasks:
|
||||
- build: |
|
||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
cd ficd-zona
|
||||
cd $repo
|
||||
uv run --with "$zonaref" zona build
|
||||
else
|
||||
echo "Skipping build: not on main"
|
||||
|
@ -17,7 +18,7 @@ tasks:
|
|||
|
||||
- package: |
|
||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
cd ficd-zona/public
|
||||
cd $repo/public
|
||||
tar -cvz . > ../public.tar.gz
|
||||
else
|
||||
echo "Skipping package: not on main"
|
||||
|
@ -25,7 +26,7 @@ tasks:
|
|||
|
||||
- upload: |
|
||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
hut pages publish -d "$site" ficd-zona/public.tar.gz
|
||||
hut pages publish -d "$site" $repo/public.tar.gz
|
||||
else
|
||||
echo "Skipping upload: not on main"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue