TinyLifeWeb/.woodpecker/docs.yml

16 lines
404 B
YAML
Raw Normal View History

2023-07-20 14:30:45 +02:00
steps:
build-docs:
image: mcr.microsoft.com/dotnet/sdk:7.0.305
commands:
- cd docs && dotnet tool restore && dotnet docfx
deploy-docs:
image: debian:latest
when:
2023-07-20 14:39:29 +02:00
event: [push, manual]
branch: main
2023-07-20 14:30:45 +02:00
commands:
- rm -rfv /var/www/tinylifedocs/*
- cp -rv docs/_site/. /var/www/tinylifedocs
volumes:
- /var/www/tinylifedocs:/var/www/tinylifedocs