From 55aed5f3461d24bf71f43365d531f5707fa6cdfa Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Sun, 11 Feb 2024 19:23:48 +0100 Subject: [PATCH] Add env vars --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 6e2b7c1..381e20e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,9 @@ steps: image: python:3.12-slim-bookworm settings: repo: git.thisfro.ch/pflaenz.li/pflaenzli + environment: + DJANGO_ALLOWED_HOSTS: localhost,[::1] + DJANGO_CSRF_TRUSTED_ORIGINS: http://localhost:8000 commands: - pip install coverage - pip install -r requirements.txt