Octopress 3.0’s docs don’t have one, so here’s a Github Pages quickstart. Based on this.

# change this
USERNAME=username
# change to just REPONAME if you're using github project pages
REPONAME=$USERNAME.github.io 

gem install octopress
mkdir blog
cd blog
octopress new ./

git init
git remote add deploy gi[email protected]:$USERNAME/$REPONAME.git
octopress deploy init git [email protected]:$USERNAME/$REPONAME
echo "_deploy.yml" >> .gitignore

jekyll build
git add .
git commit -m 'first deploy'
octopress deploy