Install dotnet-ef tool in update_db job for database migrations #5

This commit is contained in:
Marek Lesko
2025-07-28 11:20:09 +00:00
parent b3e459211d
commit d66e7e7126

View File

@@ -56,6 +56,7 @@ update_db:
- cd Api - cd Api
- dotnet restore ./Api.csproj - dotnet restore ./Api.csproj
- dotnet build ./Api.csproj - dotnet build ./Api.csproj
- dotnet tool install --global dotnet-ef
- dotnet ef database update --project ./Api.csproj --startup-project ./Api.csproj - dotnet ef database update --project ./Api.csproj --startup-project ./Api.csproj
tags: tags:
- production - production