From 486706d61b4d76862af0d80943964d1ca811f900 Mon Sep 17 00:00:00 2001 From: Lilian BRETON Date: Tue, 20 Dec 2022 16:41:44 +0100 Subject: [PATCH 1/3] Update '.drone.yml' --- .drone.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 61f96dd..7a5ebde 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,16 +4,16 @@ name: BlazorProject steps: - 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 volumes: From 46e403c1193633fb1fe6e36e5eb1947ed9a74982 Mon Sep 17 00:00:00 2001 From: Lilian BRETON Date: Tue, 20 Dec 2022 16:52:45 +0100 Subject: [PATCH 2/3] Update '.drone.yml' --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index 7a5ebde..7aa7397 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,14 @@ 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 From 777a10db0739a18f45f17de3a1473978b3a0922e Mon Sep 17 00:00:00 2001 From: Lilian BRETON Date: Tue, 20 Dec 2022 16:53:01 +0100 Subject: [PATCH 3/3] Update '.drone.yml' --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 7aa7397..4e0791d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,7 @@ steps: when: branch: - master + depends_on: [build] volumes: