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