parent
b71dffc305
commit
238f1c5eaf
|
@ -36,6 +36,12 @@ Next, add the following lines to hooks/post-receive and be sure Jekyll is
|
||||||
installed on the server:
|
installed on the server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
#!/bin/bash -l
|
||||||
|
|
||||||
|
# Install Ruby Gems to ~/gems
|
||||||
|
export GEM_HOME=$HOME/gems
|
||||||
|
export PATH=$GEM_HOME/bin:$PATH
|
||||||
|
|
||||||
GIT_REPO=$HOME/myrepo.git
|
GIT_REPO=$HOME/myrepo.git
|
||||||
TMP_GIT_CLONE=$HOME/tmp/myrepo
|
TMP_GIT_CLONE=$HOME/tmp/myrepo
|
||||||
GEMFILE=$TMP_GIT_CLONE/Gemfile
|
GEMFILE=$TMP_GIT_CLONE/Gemfile
|
||||||
|
|
Loading…
Reference in New Issue