Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

master
Leni BEAULATON 2 weeks ago
parent dac0c7a433
commit d0765e9194

@ -99,10 +99,15 @@ steps:
image: mcr.microsoft.com/dotnet/sdk:8.0 image: mcr.microsoft.com/dotnet/sdk:8.0
commands: commands:
- dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out - dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out
depends_on: [restore & build, test]
- name: update-database
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd WF_EF_Api/StubbedContextLib - cd WF_EF_Api/StubbedContextLib
- dotnet tool install --global dotnet-ef - dotnet tool install --global dotnet-ef
- dotnet ef database update - dotnet ef database update --connection "Server=<DB_SERVER>;Database=<DB_NAME>;User Id=<USER_ID>;Password=<PASSWORD>;"
depends_on: [restore & build, test] depends_on: [publish]
- name: deploy-api-db - name: deploy-api-db
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest

Loading…
Cancel
Save