diff --git a/.drone.yml b/.drone.yml index 2e452e4..598cbd7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,22 +22,6 @@ steps: - dotnet test Ohara.sln --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 depends_on: [build] - - name: generate-and-deploy-docs - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer - failure: ignore - volumes: - - name: docs - path: /docs - commands: - - /entrypoint.sh - when: - branch: - - master - event: - - push - - pull_request - depends_on: [build,tests] - - name: code-inspection image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet7-maui secrets: [ SECRET_SONAR_LOGIN ] @@ -57,5 +41,19 @@ steps: - dotnet publish Ohara/Ohara.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk - dotnet sonarscanner end /d:sonar.login=$${sonar_token} depends_on: [tests] - - \ No newline at end of file + + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + failure: ignore + volumes: + - name: docs + path: /docs + commands: + - /entrypoint.sh + when: + branch: + - master + event: + - push + - pull_request + depends_on: [build,tests] \ No newline at end of file