commit f48353190b812b42261b7e50a2ec8b7dd22d336f parent dbe4cb98e640cd33448da9f155d4db519f53a7f9 Author: Jack Mordaunt <jackmordaunt.dev@gmail.com> Date: Fri, 11 Jul 2025 11:47:49 -0300 ci: publish on push Diffstat:
| A | .builds/publish.yml | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/.builds/publish.yml b/.builds/publish.yml @@ -0,0 +1,13 @@ +image: alpine/edge +oauth: pages.sr.ht/PAGES:RW +packages: +- hut +environment: + site: jackmordaunt.srht.site +tasks: +- package: | + cd $site + hugo + tar -C public -cvz . > ../site.tar.gz +- upload: | + hut pages publish -d $site site.tar.gz