Verified Commit a3e74f15 authored by Elias Ojala's avatar Elias Ojala
Browse files

Merge branch 'master' of git.lelux.fi:Lelux/wiki

parents 15d446fb 7dc5793a
......@@ -9,10 +9,12 @@ export PATH="$HOME/gems/bin:$PATH"
if [ "$(hostname)" == $EXPECTED_HOSTNAME ]; then
git pull
git push --mirror github
git push --quiet --mirror github
./_mirror.sh
rm -rf _site/
bundle exec jekyll build
rm -rf /var/www/wiki.lelux.fi/*
bundle exec jekyll build --destination=/var/www/wiki.lelux.fi/
cp -rT _site/ /var/www/wiki.lelux.fi/
else
echo "You're running it on \"$(hostname)\". You're supposed to run it on \"$EXPECTED_HOSTNAME\"!"
fi
#!/usr/bin/env bash
git pull
git push --quiet --mirror github
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment