From bd517b2b060aa51fb683c50cf92332a86f50be76 Mon Sep 17 00:00:00 2001
From: Elena ``of Valhalla'' Grandi <valhalla@trueelena.org>
Date: Tue, 2 Jan 2024 18:03:46 +0100
Subject: Build an html readme that sourcehut can display

---
 .builds/update_readme.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 .builds/update_readme.yml

diff --git a/.builds/update_readme.yml b/.builds/update_readme.yml
new file mode 100644
index 0000000..d682aa7
--- /dev/null
+++ b/.builds/update_readme.yml
@@ -0,0 +1,11 @@
+image: debian/testing
+oauth: git.sr.ht/REPOSITORIES:RW git.sr.ht/PROFILE:RO
+packages:
+  - hut
+sources:
+  - https://git.sr.ht/~valhalla/lesana
+tasks:
+  - update-readme: |
+    cd lesana
+    rst2html README.rst > README.html
+    hut git update --readme README.html
-- 
cgit v1.2.3