Enough bits to deploy the site (mostly)
[books.alexwlchan.net] / scripts / deploy.sh
index dcd58fd..993c6b6 100755 (executable)
@@ -8,3 +8,7 @@ python3 scripts/render_html.py
 
 rsync --archive --verbose --compress --delete \
   _html/ alexwlchan@helene.linode:sites/books.alexwlchan.net
+
+ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/static/*'
+ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/covers/*'
+ssh alexwlchan@helene.linode 'chmod 644 ~/sites/books.alexwlchan.net/**/*.html'