blob: 20d71bcdaa694b426bddc290237c4b6a5d83b7a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
image: archlinux
oauth: pages.sr.ht/PAGES:RW
packages:
- julia
- katex
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
|