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

Mirror to Github in build script; force branch to master

parent 2350eb4d
......@@ -9,6 +9,7 @@ export PATH="$HOME/gems/bin:$PATH"
if [ "$(hostname)" == $EXPECTED_HOSTNAME ]; then
git pull
git push --mirror github
rm -rf _site/
rm -rf /var/www/*
bundle exec jekyll build --destination=/var/www/
......@@ -24,3 +24,7 @@ theme: jekyll-theme-primer
# Really anything ok here. Used just to shut up github-pages gem.
repository: theel0ja/Lelux-wiki
branch: master
Supports Markdown
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