docs/publish.sh @ 4a90d30e1c17 default tip

Add basic support for static assets/media
author Steve Losh <steve@stevelosh.com>
date Fri, 28 Aug 2020 00:21:29 -0400
parents 6e5adbf46d65
children (none)
#!/usr/bin/env bash

rm -rf ./build
~/.virtualenvs/d/bin/python ../bin/d
hg -R ~/src/docs.stevelosh.com pull -u
rsync --delete -a ./build/ ~/src/docs.stevelosh.com/d
hg -R ~/src/docs.stevelosh.com commit -Am 'd: Update site.'
hg -R ~/src/docs.stevelosh.com push