From 24de138766bfd62afe8837790004c8ad311c097e Mon Sep 17 00:00:00 2001 From: Aaron Lee <58136818+aaronleetw@users.noreply.github.com> Date: Wed, 27 Oct 2021 18:24:55 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 631afbf..025fc7f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,27 +9,7 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - max-parallel: 4 - matrix: - python-version: [3.7] - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install Dependencies - run: | - python -m pip install --upgrade pip - pip install -r ./requirements.txt - - - name: Test for Syntax Errors - run: | - python -m py_compile app.py - - name: CD uses: appleboy/ssh-action@master with: @@ -40,6 +20,6 @@ jobs: cd /home/ubuntu/Attendance git pull source ./Attendance/bin/activate - pip install -r ./requirements.txt + pip install -r requirements.txt deactivate sudo systemctl restart Attendance.service