about summary refs log tree commit diff homepage
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..7090b03
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,15 @@
+image: debian/sid
+oauth: pages.sr.ht/PAGES:RW
+packages:
+  - julia
+  - python3-dev
+  - python3-pip
+sources:
+  - https://git.sr.ht/~cnx/site
+tasks:
+  - build: |
+      cd site
+      julia --project=@. .build.jl
+  - deploy: |
+      tar -cvzf site.tar.gz -C site/__site .
+      acurl -f https://pages.sr.ht/publish/cnx.srht.site -F content=@site.tar.gz