mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 06:28:35 +01:00
parent
0fde5b7aa0
commit
8f2dc2e507
2 changed files with 0 additions and 32 deletions
|
@ -1,16 +0,0 @@
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: runmymind/docker-android-sdk:ubuntu-standalone
|
|
||||||
commands:
|
|
||||||
# install xvfb to allow for graphics-dependent tests
|
|
||||||
- apt-get update && apt-get install -y --no-install-recommends xauth xvfb openjdk-11-jdk
|
|
||||||
# install dotnet
|
|
||||||
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 7.0.305
|
|
||||||
- export DOTNET_ROOT=$HOME/.dotnet
|
|
||||||
- export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
|
|
||||||
# run cake
|
|
||||||
- dotnet tool restore
|
|
||||||
- xvfb-run -a dotnet cake --target Publish --branch $CI_COMMIT_BRANCH
|
|
||||||
secrets:
|
|
||||||
- nuget_key
|
|
||||||
- baget_key
|
|
|
@ -1,16 +0,0 @@
|
||||||
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
|
|
Loading…
Reference in a new issue