Install dotnet-ef tool in update_db job for database migrations #5
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user