10 lines
185 B
Bash
10 lines
185 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
[ -d .git ] || git clone ${MKDOCS_SERVER_GIT_URL} /docs
|
||
|
|
||
|
git pull
|
||
|
pip install -r requirements.txt
|
||
|
mkdocs build -d /site
|
||
|
nginx&
|
||
|
python /hook/docker-hook -c sh /hook/update.sh
|