feat: drone & admin removal

This commit is contained in:
pwgen2155 2024-02-28 19:46:29 +11:00
parent 69f04e216c
commit 421b412b2a
2 changed files with 18 additions and 7 deletions

View file

@ -2,10 +2,21 @@ kind: pipeline
name: test
type: docker
steps:
- name: test
image: python:3.11
commands:
- pip install -r requirements.txt
- /bin/bash tests.sh
clone:
depth: 1
steps:
- name: requirements
image: python:3.11
commands:
- pip install -r requirements.txt
- name: migrate tests
image: python:3.11
workspace: site
commands:
- cd site
- ./manage.py migrate --database=default
- ./manage.py migrate --database=game
- ./manage.py collectstatic --no-input

View file

@ -18,5 +18,5 @@ from django.urls import include, path
urlpatterns = [
path('', include('dawdle.urls')),
path('admin/', admin.site.urls),
#path('admin/', admin.site.urls),
]