aboutsummaryrefslogtreecommitdiffstats
path: root/.build/readme.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build/readme.yml')
-rw-r--r--.build/readme.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.build/readme.yml b/.build/readme.yml
new file mode 100644
index 0000000..32deacc
--- /dev/null
+++ b/.build/readme.yml
@@ -0,0 +1,20 @@
+image: alpine/latest
+packages:
+ - make
+ - emacs-nox
+secrets:
+ - 71a00305-bdc9-4108-84a0-2d42d5f824d6
+tasks:
+ - build: |
+ cd tekuti-el
+ make README.html
+ - readme: |
+ cd tekuti-el
+ set +x
+ curl --fail-with-body \
+ -H "Content-Type: text/html" \
+ -H "Authorization: Bearer $(cat ~/.pcomplete-p4-auth)" \
+ -XPUT \
+ --data-binary @README.html \
+ 'https://git.sr.ht/api/repos/tekuti-el/readme' \
+ && echo "README set"