blob: 7d54b98d3a9e5b3ce76589169fdc18804bc29390 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
image: archlinux
oauth: pages.sr.ht/PAGES:RW
packages:
- julia
- katex
- python-pip
sources:
- https://git.sr.ht/~cnx/site
tasks:
- katex: |
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
- 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
|