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/wiki.lelux.fi/*
bundle exec jekyll build --destination=/var/www/wiki.lelux.fi/
......
......@@ -24,3 +24,7 @@ theme: jekyll-theme-primer
# Really anything ok here. Used just to shut up github-pages gem.
# https://github.com/jekyll/jekyll/issues/4705#issuecomment-200991736
repository: theel0ja/Lelux-wiki
github:
source:
branch: master
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