mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-06-23 19:00:05 +02:00
16 lines
408 B
YAML
16 lines
408 B
YAML
|
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:
|
||
|
- event: [push, manual]
|
||
|
branch: main
|
||
|
commands:
|
||
|
- rm -rfv /var/www/tinylifedocs/*
|
||
|
- cp -rv docs/_site/. /var/www/tinylifedocs
|
||
|
volumes:
|
||
|
- /var/www/tinylifedocs:/var/www/tinylifedocs
|