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"]
|
needs: ["docker-deploy"]
|
||||||
script:
|
script:
|
||||||
- cd Api
|
- cd Api
|
||||||
- dotnet restore
|
- dotnet restore ./Api.csproj
|
||||||
- dotnet build
|
- dotnet build ./Api.csproj
|
||||||
- dotnet ef database update --project Api/Api.csproj --startup-project Api/Api.csproj
|
- dotnet ef database update --project ./Api.csproj --startup-project ./Api.csproj
|
||||||
tags:
|
tags:
|
||||||
- production
|
- production
|
||||||
- docker
|
- docker
|
||||||
|
|||||||
Reference in New Issue
Block a user