From 97f577c715de6e9f4e515a179787e0bb5b7cdcbb Mon Sep 17 00:00:00 2001 From: Lucas Ramage Date: Fri, 24 Jan 2020 10:45:23 -0500 Subject: [PATCH] Install additional packages via pip (#3) Bug: https://github.com/mhausenblas/mkdocs-deploy-gh-pages/issues/2 Signed-off-by: Lucas Ramage --- action.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.sh b/action.sh index b1394f5..41e31d6 100644 --- a/action.sh +++ b/action.sh @@ -6,6 +6,8 @@ function print_info() { echo -e "\e[36mINFO: ${1}\e[m" } +pip install -r "${GITHUB_WORKSPACE}/requirements.txt" + if [ -n "${GITHUB_TOKEN}" ]; then print_info "setup with GITHUB_TOKEN" remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"