2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 09:00:28 +01:00

install dependencies in deploy step

This commit is contained in:
Frederik Ring 2019-05-31 17:22:09 +02:00
parent e0808b7906
commit fb34f1ae49

View File

@ -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