Update CICD to use venv

This commit is contained in:
Aaron Lee 2021-10-12 21:44:47 +08:00 committed by GitHub
parent b7090f4c76
commit 697134a9bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,5 +39,7 @@ jobs:
script: |
cd /home/ubuntu/Attendance
git pull
source ./Attendance/bin/activate
pip install -r ./requirements.txt
deactivate
sudo systemctl restart Attendance.service