diff --git a/.drone.yml b/.drone.yml index b53c597..969979a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -115,10 +115,6 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: from_secret: POSTGRES_DB_API ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 - commands: - - cd WF_EF_Api/StubbedContextLib - - dotnet tool install --global dotnet-ef - - dotnet ef database update - name: deploy-auth-db image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest @@ -134,10 +130,6 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: from_secret: POSTGRES_DB_AUTH ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 - commands: - - cd WF_EF_Api/StubbedContextLib - - dotnet tool install --global dotnet-ef - - dotnet ef database update - name: deploy-test-db image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest @@ -150,10 +142,6 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER: "test" CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: "wtf-test" ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 - commands: - - cd WF_EF_Api/StubbedContextLib - - dotnet tool install --global dotnet-ef - - dotnet ef database update - name: publish-to-registry image: plugins/docker @@ -202,3 +190,7 @@ steps: ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 depends_on: [restore & build, test, code-inspection, publish, publish-to-registry] + commands: + - cd WF_EF_Api/StubbedContextLib + - dotnet tool install --global dotnet-ef + - dotnet ef database update