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
1b1e3418
Commit
1b1e3418
authored
Feb 17, 2019
by
Elias Ojala
Browse files
Webhooks
parent
3cc1a723
Changes
2
Hide whitespace changes
Inline
Side-by-side
_build.sh
View file @
1b1e3418
...
...
@@ -2,6 +2,10 @@
# Intended to be run on server.
EXPECTED_HOSTNAME
=
"fi1"
export
HOME
=
"/home/eliaso"
export
GEM_HOME
=
"
$HOME
/.gems"
export
PATH
=
"
$HOME
/.gems/bin:
$PATH
"
if
[
"
$(
hostname
)
"
==
$EXPECTED_HOSTNAME
]
;
then
git pull
...
...
webhook.json
0 → 100644
View file @
1b1e3418
[
{
"id"
:
"wiki-deploy"
,
"execute-command"
:
"/home/eliaso/code/git.lelux.fi/Lelux/wiki/_build.sh"
,
"command-working-directory"
:
"/home/eliaso/code/git.lelux.fi/Lelux/wiki"
}
]
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