diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..6b39127 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +image: mcr.microsoft.com/dotnet/sdk:8.0 + +volumes: + - name: docs + path: /docs + +- dotnet new tool-manifest +- dotnet tool install NSwag.ConsoleCore +- dotnet nswag aspnetcore2openapi /output:/docs/swagger.json + +volumes: +- name: docs + temp: {} + +image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer +volumes: + - name: docs + path: /docs + +commands: + - /entrypoint.sh + +depends_on: [ previous_job_name ] \ No newline at end of file