From b7090f4c7630a5ee8305ea4020d632dabd64cce4 Mon Sep 17 00:00:00 2001 From: Aaron Lee <58136818+aaronleetw@users.noreply.github.com> Date: Tue, 12 Oct 2021 21:41:41 +0800 Subject: [PATCH] Update CICD --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae237a4..3ffaaaf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: - name: Test for Syntax Errors run: | - py -m py_compile app.py + python -m py_compile app.py - name: CD uses: appleboy/ssh-action@master @@ -39,4 +39,5 @@ jobs: script: | cd /home/ubuntu/Attendance git pull + pip install -r ./requirements.txt sudo systemctl restart Attendance.service