From d77720640ac35c43d87a7eebdb775c6a0780bb11 Mon Sep 17 00:00:00 2001 From: xinyuguan3 Date: Fri, 2 Feb 2024 17:26:43 +0800 Subject: [PATCH] Update main.yaml --- .github/workflows/main.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1b98ed6..36afcd4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,9 +21,7 @@ jobs: with: python-version: '3.x' - - name: Install Gunicorn - run: | - pip install gunicorn + # - name: Create a requirements file # run: | @@ -33,6 +31,10 @@ jobs: run: | pip install -r requirements.txt + - name: Install Gunicorn + run: | + pip install gunicorn + # - name: Install OpenSSL # run: | # sudo apt-get install openssl @@ -48,7 +50,7 @@ jobs: - name: Run gunicorn_conf.py run: | - gunicorn -c gunicorn_conf.py app:app + gunicorn app:app -c gunicorn_conf.py # - name: run the app # run: |