forked from pwgen2155/dawdle
feat: drone & admin removal
This commit is contained in:
parent
69f04e216c
commit
421b412b2a
23
.drone.yml
23
.drone.yml
|
@ -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
|
||||
|
||||
|
|
|
@ -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),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue