mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
17 lines
414 B
YAML
17 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
|