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