Refactor update_db job to specify project paths for dotnet commands #5
This commit is contained in:
@@ -54,9 +54,9 @@ update_db:
|
||||
needs: ["docker-deploy"]
|
||||
script:
|
||||
- cd Api
|
||||
- dotnet restore
|
||||
- dotnet build
|
||||
- dotnet ef database update --project Api/Api.csproj --startup-project Api/Api.csproj
|
||||
- dotnet restore ./Api.csproj
|
||||
- dotnet build ./Api.csproj
|
||||
- dotnet ef database update --project ./Api.csproj --startup-project ./Api.csproj
|
||||
tags:
|
||||
- production
|
||||
- docker
|
||||
|
||||
Reference in New Issue
Block a user