From 3c767278da770b268269456801c3eda3126459e5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 18 Jul 2022 17:14:16 -0400 Subject: [PATCH] activate venv automatically --- process-static | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/process-static b/process-static index 85aab03b..99414175 100755 --- a/process-static +++ b/process-static @@ -3,6 +3,10 @@ set -o errexit -o nounset -o pipefail shopt -s dotglob extglob globstar +if [[ ${GITHUB_ACTIONS:-false} != true ]]; then + source venv/bin/activate +fi + if [[ $# -eq 1 ]]; then fd=$1 else