summaryrefslogtreecommitdiff
path: root/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'publish.sh')
-rwxr-xr-xpublish.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/publish.sh b/publish.sh
new file mode 100755
index 0000000..29ec0e4
--- /dev/null
+++ b/publish.sh
@@ -0,0 +1,16 @@
1#!/usr/bin/env bash
2PY=${PY:-python}
3PELICAN=${PELICAN:-pelican}
4PELICANOPTS=
5
6BASEDIR=$(pwd)
7INPUTDIR=$BASEDIR/content
8OUTPUTDIR=$BASEDIR/output
9CONFFILE=$BASEDIR/pelicanconf.py
10
11set -e
12
13$PELICAN $INPUTDIR -o $OUTPUTDIR -s $CONFFILE $PELICANOPTS
14./fix_images.sh
15
16rsync -vaP output/* content.events.ccc.de:/usr/local/www/help.ccc.de/ --delete-after