changed build action env vars, updated zona ref
This commit is contained in:
parent
80b1603f96
commit
edeb2fb9ac
1 changed files with 4 additions and 3 deletions
|
@ -8,12 +8,13 @@ environment:
|
|||
draft_site: draft.ficd.sh
|
||||
proxy: ficd.srht.site
|
||||
repo: ficd.sh
|
||||
zonaref: git+https://git.sr.ht/~ficd/zona@b8b8fef72c741606ed1165a0c07c42cca8060176
|
||||
zona_repo: git+https://git.sr.ht/~ficd/zona
|
||||
zona_ref: 0ee8094cc9c366a813d8f7938d35a9be7f7647e1
|
||||
tasks:
|
||||
- build: |
|
||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
cd $repo
|
||||
uv run --with "$zonaref" zona build --output public
|
||||
uv run --with "${zona_repo}@${zona_ref}" zona build --output public
|
||||
else
|
||||
echo "Skipping build: not on main"
|
||||
fi
|
||||
|
@ -21,7 +22,7 @@ tasks:
|
|||
- build_draft: |
|
||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
cd $repo
|
||||
uv run --with "$zonaref" zona build --output public-draft --draft
|
||||
uv run --with "${zona_repo}@${zona_ref}" zona build --output public-draft --draft
|
||||
else
|
||||
echo "Skipping build: not on main"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue