Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (8 sloc) 363 Bytes
#!/bin/bash -xe
cabal-dev configure -fproduction
cabal-dev build
rm -rf static/tmp
strip dist/build/haskellers/haskellers
bzip2 dist/build/haskellers/haskellers
scp -i ~/.ec2/ec2-keypair.pem -r favicon.ico static dist/build/haskellers/haskellers.bz2 ubuntu@www.haskellers.com:/home/ubuntu/haskellers
ssh ubuntu@www.haskellers.com 'cd haskellers && sh update.sh'