aboutsummaryrefslogtreecommitdiffstats
path: root/.builds
diff options
context:
space:
mode:
Diffstat (limited to '.builds')
-rw-r--r--.builds/pages.yml17
-rw-r--r--.builds/readme.yml20
2 files changed, 37 insertions, 0 deletions
diff --git a/.builds/pages.yml b/.builds/pages.yml
new file mode 100644
index 0000000..c86a3ee
--- /dev/null
+++ b/.builds/pages.yml
@@ -0,0 +1,17 @@
+image: alpine/latest
+oauth: pages.sr.ht/PAGES:RW
+packages:
+ - make
+ - emacs-nox
+ - git
+tasks:
+ - stamp-version: |
+ cd tekuti-el
+ make stamp-version
+ - package: |
+ cd tekuti-el
+ make package
+ - upload: |
+ cd tekuti-el
+ acurl -f "https://pages.sr.ht/publish/ryuslash.srht.site/pcomplete-p4/elpa/" \
+ -Fcontent=@pcomplete-p4.tar.gz
diff --git a/.builds/readme.yml b/.builds/readme.yml
new file mode 100644
index 0000000..32deacc
--- /dev/null
+++ b/.builds/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"