diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..202aedd --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,24 @@ +name: ReadIt Backend + +on: + push: + branches: [ main ] + +jobs: + deploy: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: [3.10] + steps: + - uses: actions/checkout@main + - name: Initialize Python 3.10 + uses: actions/setup-python@v1 + with: + python-version: ${{matrix.python-version}} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + python server.py