2 Commits

Author SHA1 Message Date
d6cd731a2a Fix no release
Some checks failed
Creates a docker image for production / Build the docker image (push) Successful in 9s
Build / Code quality (push) Has been cancelled
2025-02-05 10:39:52 -03:00
ed4d845b12 Habilitando admin
Some checks failed
Creates a docker image for production / Build the docker image (push) Successful in 23s
Build / Code quality (push) Has been cancelled
2025-02-05 10:38:54 -03:00
2 changed files with 2 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ jobs:
--header "Authorization: Bearer $TOKEN" \ --header "Authorization: Bearer $TOKEN" \
--data '{ --data '{
"image": "docker.nexus.makecodes.dev/mines/backend", "image": "docker.nexus.makecodes.dev/mines/backend",
"service": "nfe-vision_app", "service": "mines_backend",
"version": "${{ github.ref_name }}", "version": "${{ github.ref_name }}",
"pipeline": "${{ github.run_number }}", "pipeline": "${{ github.run_number }}",
"repository": "mines/backend" "repository": "mines/backend"

View File

@@ -1,13 +1,7 @@
from django.conf import settings
from django.contrib import admin from django.contrib import admin
from django.urls import include, path from django.urls import include, path
urlpatterns = [ urlpatterns = [
path('', include('api.urls')), path('', include('api.urls')),
path('admin/', admin.site.urls),
] ]
# We need this only for development purpose
if settings.DEBUG is True:
urlpatterns += [
path('admin/', admin.site.urls),
]