Commit bb299c12 authored by Elias Ojala's avatar Elias Ojala
Browse files

Update

parent c16d2ee0
# Wiki
\ No newline at end of file
# Wiki
[wiki.lelux.fi](https://wiki.lelux.fi/)
## Mirrors
* [git.lelux.fi](https://git.lelux.fi/Lelux/wiki) (origin)
* [gitlab.com](https://gitlab.com/theel0ja/wiki) (mirror)
......@@ -5,8 +5,8 @@ EXPECTED_HOSTNAME="fi1"
if [ "$(hostname)" == $EXPECTED_HOSTNAME ]; then
rm -rf _site/
bundle exec jekyll build
mv _site/ /var/www/wiki.lelux.fi
rm -rf /var/www/wiki.lelux.fi/*
bundle exec jekyll build --destination=/var/www/wiki.lelux.fi/
else
echo "You're running it on \"$(hostname)\". You're supposed to run it on \"$EXPECTED_HOSTNAME\"!"
fi
\ No newline at end of file
fi
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