From 39539b4591c8f36bc08a032db839e22725614af2 Mon Sep 17 00:00:00 2001 From: "maxime.BATISTA@etu.uca.fr" Date: Sat, 10 Jun 2023 20:28:01 +0200 Subject: [PATCH] add deployment --- .drone.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 05189d6..19e9103 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,17 @@ steps: image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - dotnet test --framework net7.0 'Tests\\\\Tests.csproj' - + - name: Deploy doc image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer:latest + depends_on: + - Test commands: - - /entrypoint.sh -t doxygen -l . -d sourcecode_documentation \ No newline at end of file + - /entrypoint.sh -t doxygen -l . -d sourcecode_documentation + + - name: Deploy + image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest + depends_on: + - Test + commands: + - dotnet publish --framework net7.0 2> /dev/null || true \ No newline at end of file