Torchlight website.
hugo server# run hugo to put files in the public directory
hugoThen notify Brandon. He will:
git pull
static public # to take a quick peek and make sure everything looks good
git push deploy masterThis pushes to a git repo at torchlightsoftware.com:git/torchlightsoftware.com. There is a post-receive hook on the remote repository with these contents:
#!/bin/sh
GIT_WORK_TREE=~/torchlightsoftware.com git checkout -fThat is sufficient to deploy the static files to ~/torchlightsoftware.com/public, which is where the dreamhost servers are serving the website from.