diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 72ca8af..81638be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,16 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.9 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Set up SSH uses: webfactory/ssh-agent@v0.5.3 with: diff --git a/requirements.txt b/requirements.txt index 6b193d8..8d97da9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ Django>=3.2,<4.0 gunicorn +django-cors-headers \ No newline at end of file