mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-25 05:58:35 +01:00
16 lines
414 B
YAML
16 lines
414 B
YAML
steps:
|
|
document:
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0.305
|
|
commands:
|
|
- dotnet tool restore
|
|
- dotnet cake --target Document --branch $CI_COMMIT_BRANCH
|
|
deploy:
|
|
image: debian:latest
|
|
when:
|
|
- event: [push, manual]
|
|
branch: release
|
|
commands:
|
|
- rm -rfv /var/www/MLEM/*
|
|
- cp -rv Docs/_site/. /var/www/MLEM/
|
|
volumes:
|
|
- /var/www/MLEM:/var/www/MLEM
|