initial commit
This commit is contained in:
commit
ed6c1e9522
58 changed files with 2221 additions and 0 deletions
30
.build.yml
Normal file
30
.build.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
image: alpine/edge
|
||||
oauth: pages.sr.ht/PAGES:RW
|
||||
packages:
|
||||
- hut
|
||||
- uv
|
||||
environment:
|
||||
site: ficd.ca
|
||||
tasks:
|
||||
- build: |
|
||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
uv run --with 'git+https://git.sr.ht/~ficd/zona' zona build
|
||||
else
|
||||
echo "Skipping build: not on main"
|
||||
fi
|
||||
|
||||
# - package: |
|
||||
# if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
# cd public
|
||||
# tar -cvz . > ../public.tar.gz
|
||||
# else
|
||||
# echo "Skipping package: not on main"
|
||||
# fi
|
||||
|
||||
# - upload: |
|
||||
# if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||
# hut pages publish -d "$site" public.tar.gz
|
||||
# else
|
||||
# echo "Skipping upload: not on main"
|
||||
# fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue