netlify-docs.sh
This file
Path
scripts/netlify-docs.sh
14 lines · 339 bytes · Shell
Last changed by
:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d
History of this fileTake it
:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
line 1why, one step back1#!/usr/bin/env bash:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d
lines 2–8why, one step back2set -x3set -e4# Install pip5cd /tmp6curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py7python3.6 get-pip.py --user8cd -:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
line 9why, one step back9# Install Flit to be able to install all:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d
line 10why, one step back10python3.6 -m pip install --user flit:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
line 11why, one step back11# Install with Flit:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d
line 12why, one step back12python3.6 -m flit install --user --deps develop:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
line 13why, one step back13# Finally, run mkdocs:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d
line 14why, one step back14python3.6 -m mkdocs build