all repos — eureka @ ef26f06a893e8f17b8a448cc73e15e2c02edb818

static site generator based on the 100r.co engine

deploy.sh (raw)

1
2
3
4
5
6
7
8
9
#!/bin/sh

DEST=$(grep "#define DEPLOY_DEST" config.h | awk '{print $3}' | sed -e 's/"//g')

if [ -z "$1" ]; then
  rsync -avK --delete ../ ${DEST}
elif [ "$1" = "--resync" ]; then
  rsync -avk --delete ${DEST} ../
fi