parent
f726c7c745
commit
925592aa81
@ -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 ]
|
Loading…
Reference in new issue