commit 2157a82b76dd690d4ddacd984076f1eabf9c7b6f parent 2bb6835076da162fca0f1faa18987381a776e52a Author: Szymon Mikulicz <szymon.mikulicz@posteo.net> Date: Sat, 13 Jun 2026 00:53:41 +0200 Try build Diffstat:
| A | .build.yml | | | 17 | +++++++++++++++++ |
| M | mirror.sh | | | 2 | +- |
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.build.yml b/.build.yml @@ -0,0 +1,17 @@ +image: alpine/edge +oauth: pages.sr.ht/PAGES:RW +packages: + - hut + - git + - stagit +secrets: + - bfe0f129-aa36-4361-9ee5-5dbb979fe0af +environment: + site: git.mikuli.cz +tasks: +- package: | + cd mirrorer + ./mirror.sh + tar -C web -cvz . > ../site.tar.gz +- upload: | + hut pages publish -d $site site.tar.gz diff --git a/mirror.sh b/mirror.sh @@ -17,7 +17,7 @@ while read line; do mkdir -p "$wrepodir" ln -sf ../style.css ../logo.png "$wrepodir" echo "$owner" > "$srepodir/owner" - echo "$srepo" > "$srepodir/urls + echo "$srepo" > "$srepodir/url" echo ":)" > "$srepodir/description" env -C "$wrepodir" stagit "$(readlink -f "$srepodir")"