Skip to content

Updated: app.py

Updated: app.py #19

name: Django Collectstatic
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
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: Run Collectstatic
working-directory: ./web
env:
DJANGO_DEBUG: "0"
DJANGO_SECRET_KEY: "secret"
run: |
python manage.py collectstatic --noinput