mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 11:01:39 -08:00
Update CICD
This commit is contained in:
parent
d607f26442
commit
b7090f4c76
1 changed files with 2 additions and 1 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue