mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +01:00
16 lines
416 B
YAML
16 lines
416 B
YAML
steps:
|
|
document:
|
|
image: mcr.microsoft.com/dotnet/sdk:8.0-jammy
|
|
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
|