about summary refs log tree commit diff homepage
path: root/.build.yml
blob: a2c3429c7c6d4a5e4c95985ef996b0607fa55f5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: archlinux
oauth: lists.sr.ht/EMAILS:RO pages.sr.ht/PAGES:RW
packages:
  - julia
  - katex
  - openring-git
  - python-pip
sources:
  - https://git.sr.ht/~cnx/site
tasks:
  - inject: |
      mkdir -p site/_libs/katex
      cp /usr/lib/node_modules/katex/dist/katex.min.js site/_libs/katex
      cp -r /usr/lib/node_modules/katex/dist/{fonts,katex.min.css} site/_css
      acurl https://lists.sr.ht/query/list/5261.mbox -o site/mbox
  - 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