Copied from https://github.com/cko/nixcon2017
The site is built with Hakyll
ghc --make site.hs
site build
site server
Watch and recompile for changes with site watch
nix-build
ssh-keygen -f deploy-key
travis encrypt-file --org -r nixcon/2019.nixcon.org deploy-key
rm deploy-key
git add travis-deployment
# ...git commit & push
Then go to https://github.com/nixcon/2019.nixcon.org/settings/keys and add the
deploy-key.pub
to the deploy keys, with write access.