Skip to content

Commit 436ab43

Browse files
committed
Add a simple deploy script.
1 parent 832759b commit 436ab43

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

deploy.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
if [ ! -d venv ]; then
4+
virtualenv -p python3 venv
5+
fi
6+
7+
echo "[+] Activating venv"
8+
source venv/bin/activate
9+
echo "[+] Ensuring we have the latest deps"
10+
pip3 install --upgrade -r requirements.txt
11+
12+
echo "[+] Pulling latest docs form Github"
13+
git pull
14+
15+
echo "[+] Deploying to gh-pages"
16+
mkdocs gh-deploy

0 commit comments

Comments
 (0)