aboutsummaryrefslogtreecommitdiff
path: root/local/hooks/repo-specific/deploy-somas.is-site
blob: 457639bfa7bf627da8a45ef46aff00869b31d58d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/execlineb

backtick -n tempdir { mktemp -d }
importas -u tempdir tempdir

if { git clone -q . "${tempdir}"/ }
if { make openring }
if { jekyll build --strict_front_matter }
if { rsync -ru --del "${tempdir}"/ deploy@angela.somas.is:/srv/www/www.somas.is/ }
rm -rf "${tempdir}"