Add an entry for "A Speller's Companion"
[books.alexwlchan.net] / scripts / deploy.sh
1 #!/usr/bin/env bash
2
3 set -o errexit
4 set -o nounset
5 set -o verbose
6
7 python3 scripts/render_html.py
8
9 rsync --archive --verbose --compress --delete \
10   _html/ alexwlchan@helene.linode:sites/books.alexwlchan.net
11
12 ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/static/*'
13 ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/covers/*'
14 ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/thumbnails/*'
15 ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/**/*.html'