From 697134a9bd700f9f8e73c0c07a5d3908f8eb2350 Mon Sep 17 00:00:00 2001 From: Aaron Lee <58136818+aaronleetw@users.noreply.github.com> Date: Tue, 12 Oct 2021 21:44:47 +0800 Subject: [PATCH] Update CICD to use venv --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ffaaaf..631afbf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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