fix: Docs CI
This commit is contained in:
parent
8eb401852c
commit
7715c75be2
|
|
@ -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"
|
- dartdoc --exclude "dart:async,dart:collection,dart:convert,dart:core,dart:developer,dart:io,dart:isolate,dart:math,dart:typed_data,dart:ui"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- doc/api/
|
- docs/api/
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
|
@ -103,7 +103,7 @@ build_doc:
|
||||||
stage: builddocs
|
stage: builddocs
|
||||||
image: registry.gitlab.com/larodar/mdbook-dtmo:latest
|
image: registry.gitlab.com/larodar/mdbook-dtmo:latest
|
||||||
script:
|
script:
|
||||||
- cd doc
|
- cd docs
|
||||||
- mdbook-dtmo build -d public
|
- mdbook-dtmo build -d public
|
||||||
- mv public ../doc-public
|
- mv public ../doc-public
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -118,7 +118,7 @@ pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
script:
|
script:
|
||||||
- mv doc/api/ ./home/api
|
- mv docs/api/ ./home/api
|
||||||
- mv doc-public ./home/doc
|
- mv doc-public ./home/doc
|
||||||
- mv home public
|
- mv home public
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue