about summary refs log tree commit diff homepage
path: root/.build.yml
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-03-07 11:29:26 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-03-07 11:29:26 +0700
commit3e6f0389f0cdac7b90970c49f455205563b48ad6 (patch)
tree4e4f0a018b1aae2276767f7f8da75fb4c909e772 /.build.yml
downloadsite-3e6f0389f0cdac7b90970c49f455205563b48ad6.tar.gz
Initialize a Franklin site
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