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

use venv when deploying

This commit is contained in:
Frederik Ring 2019-05-31 17:18:32 +02:00
parent 51a712d7ef
commit e0808b7906

View File

@ -22,6 +22,8 @@ jobs:
name: Deploy name: Deploy
command: | command: |
if [ $CIRCLE_BRANCH == $SOURCE_BRANCH ]; then if [ $CIRCLE_BRANCH == $SOURCE_BRANCH ]; then
source venv/bin/activate
git config --global user.email $GH_EMAIL git config --global user.email $GH_EMAIL
git config --global user.name $GH_NAME git config --global user.name $GH_NAME