bin/ deploy
0 → 100755
+14 −0
| Original line number | Diff line number | Diff line |
|---|---|---|
#!/bin/sh
|
||
set -e # abort on errors
|
||
if [ -z "$DEPLOY_DEST" ]; then
|
||
echo 'Please provide DEPLOY_DEST environment variable'
|
||
exit
|
||
fi
|
||
rsync -avz --cvs-exclude --delete index.html dist documents images "$DEPLOY_DEST"
|
||
# Local Variables:
|
||
# mode: sh
|
||
# End: |














