Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (13 sloc) 493 Bytes
# Quickly re-convert the blog and commit to a local test instance of ikiwiki
cd $SCRIPT_DIR && rm -rf temp/
mkdir -p temp/
(cd temp && ../ || exit 1
cd $BLOG_DIR && git rm --quiet -r posts
mkdir -p $BLOG_DIR/posts
cp -r $SCRIPT_DIR/temp/* $BLOG_DIR/posts/
rm $BLOG_DIR/posts/apache-aliases.conf
cd $BLOG_DIR && git add posts && git commit --quiet -a -m "re-ran script" && git push