fix: Docs CI

This commit is contained in:
Sorunome 2021-02-11 12:52:48 +01:00
parent 8eb401852c
commit 7715c75be2
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ build_api_doc:
- dartdoc --exclude "dart:async,dart:collection,dart:convert,dart:core,dart:developer,dart:io,dart:isolate,dart:math,dart:typed_data,dart:ui"
artifacts:
paths:
- doc/api/
- docs/api/
only:
- main
@ -103,7 +103,7 @@ build_doc:
stage: builddocs
image: registry.gitlab.com/larodar/mdbook-dtmo:latest
script:
- cd doc
- cd docs
- mdbook-dtmo build -d public
- mv public ../doc-public
artifacts:
@ -118,7 +118,7 @@ pages:
stage: deploy
image: alpine:latest
script:
- mv doc/api/ ./home/api
- mv docs/api/ ./home/api
- mv doc-public ./home/doc
- mv home public
dependencies: