From fb34f1ae495bfda1d8761c40619afedf5a52f70a Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Fri, 31 May 2019 17:22:09 +0200 Subject: [PATCH] install dependencies in deploy step --- .circleci/config.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d155ed3..069aa68 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,16 +12,13 @@ jobs: - TARGET_BRANCH: gh-pages steps: - checkout - - run: - name: Install deps - command: | - python -m venv venv - source venv/bin/activate - pip install --user -r requirements.txt - deploy: name: Deploy command: | if [ $CIRCLE_BRANCH == $SOURCE_BRANCH ]; then + python -m venv venv + source venv/bin/activate + pip install --user -r requirements.txt source venv/bin/activate git config --global user.email $GH_EMAIL