diff --git a/.drone.yml b/.drone.yml index 61f96dd..4e0791d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,17 +3,26 @@ type: docker name: BlazorProject steps: + + - name: build + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd myBlazorApp/ + - dotnet restore myBlazorApp.sln + - dotnet build myBlazorApp.sln -c Release --no-restore + - name: generate-documentation - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer - failure: ignore - volumes: - - name: docs - path: /docs - commands: + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + failure: ignore + volumes: + - name: docs + path: /docs + commands: - /entrypoint.sh - when: - branch: - - master + when: + branch: + - master + depends_on: [build] volumes: