Commit 1b1e3418 authored by Elias Ojala's avatar Elias Ojala
Browse files

Webhooks

parent 3cc1a723
......@@ -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
......
[
{
"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"
}
]
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