mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
install dependencies in deploy step
This commit is contained in:
parent
e0808b7906
commit
fb34f1ae49
@ -12,16 +12,13 @@ jobs:
|
|||||||
- TARGET_BRANCH: gh-pages
|
- TARGET_BRANCH: gh-pages
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
|
||||||
name: Install deps
|
|
||||||
command: |
|
|
||||||
python -m venv venv
|
|
||||||
source venv/bin/activate
|
|
||||||
pip install --user -r requirements.txt
|
|
||||||
- deploy:
|
- deploy:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
command: |
|
command: |
|
||||||
if [ $CIRCLE_BRANCH == $SOURCE_BRANCH ]; then
|
if [ $CIRCLE_BRANCH == $SOURCE_BRANCH ]; then
|
||||||
|
python -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip install --user -r requirements.txt
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
||||||
git config --global user.email $GH_EMAIL
|
git config --global user.email $GH_EMAIL
|
||||||
|
Loading…
Reference in New Issue
Block a user