mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
Update CICD to use venv
This commit is contained in:
parent
b7090f4c76
commit
697134a9bd
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -39,5 +39,7 @@ jobs:
|
||||||
script: |
|
script: |
|
||||||
cd /home/ubuntu/Attendance
|
cd /home/ubuntu/Attendance
|
||||||
git pull
|
git pull
|
||||||
|
source ./Attendance/bin/activate
|
||||||
pip install -r ./requirements.txt
|
pip install -r ./requirements.txt
|
||||||
|
deactivate
|
||||||
sudo systemctl restart Attendance.service
|
sudo systemctl restart Attendance.service
|
||||||
|
|
Loading…
Reference in a new issue