You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
574 B
30 lines
574 B
kind: pipeline
|
|
type: docker
|
|
name: BlazorProject
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
commands:
|
|
- cd myBlazorApp/
|
|
- dotnet restore myBlazorApp.sln
|
|
- dotnet build myBlazorApp.sln -c Release --no-restore
|
|
|
|
- name: generate-documentation
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
|
|
failure: ignore
|
|
volumes:
|
|
- name: docs
|
|
path: /docs
|
|
commands:
|
|
- /entrypoint.sh
|
|
when:
|
|
branch:
|
|
- master
|
|
depends_on: [build]
|
|
|
|
|
|
volumes:
|
|
- name: docs
|
|
temp: {} |