Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lelux.fi
Wiki
Commits
b3fa7d42
Commit
b3fa7d42
authored
Mar 29, 2019
by
Elias Ojala
Browse files
Mirror to Github in build script; force branch to master
parent
2350eb4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
_build.sh
View file @
b3fa7d42
...
...
@@ -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/
...
...
_config.yml
View file @
b3fa7d42
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment