Skip to content

Commit

Permalink
Make deploy-helper a bit smarter about activating venv
Browse files Browse the repository at this point in the history
  • Loading branch information
jppellet committed Apr 18, 2024
1 parent d00a983 commit 7f8ae09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployment/deploy-helper
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ devmerge-save() {


deploy() {
# activate virtualenv if exists
test .env && source .env/bin/activate
test venv && source venv/bin/activate
test env && source env/bin/activate

# check if user is defined with default deploy user
SSH_USER=${SSH_USER:-31826_hep}

Expand Down

0 comments on commit 7f8ae09

Please sign in to comment.