Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Commit c2f047d

Browse files
committed
ci(netlify): install mkdocs with pip on Netlify
Signed-off-by: Jonah Snider <[email protected]>
1 parent 3a51d41 commit c2f047d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
echo "Cloning bot repository"
24
git clone https://github.com/dice-discord/bot.git --depth 1
35
cd bot
@@ -11,4 +13,8 @@ echo "Generating command documentation"
1113
yarn docs
1214
cp -r tsc_output/command_docs ../docs/commands
1315
echo "Building documentation"
16+
if [[ -z "$NETLIFY" ]]; then
17+
echo "Installing mkdocs with pip"
18+
pip install mkdocs
19+
fi
1420
mkdocs build

0 commit comments

Comments
 (0)