fix: have dartdocs use doc folder, mdbook stuff use the docs folder
This commit is contained in:
parent
c2637a0015
commit
888fdc2078
|
|
@ -91,10 +91,9 @@ build_api_doc:
|
||||||
image: cirrusci/flutter
|
image: cirrusci/flutter
|
||||||
script:
|
script:
|
||||||
- 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"
|
||||||
- mv doc docs
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- docs/api/
|
- doc/api/
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
|
@ -119,7 +118,7 @@ pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
script:
|
script:
|
||||||
- mv docs/api/ ./home/api
|
- mv doc/api/ ./home/api
|
||||||
- mv doc-public ./home/doc
|
- mv doc-public ./home/doc
|
||||||
- mv home public
|
- mv home public
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -182,4 +181,3 @@ update-dependencies:
|
||||||
- pub get
|
- pub get
|
||||||
- git remote set-url --push origin git@gitlab.com:$CI_PROJECT_PATH
|
- git remote set-url --push origin git@gitlab.com:$CI_PROJECT_PATH
|
||||||
- 'git diff --exit-code || (git checkout -B ${UPDATE_BRANCH} && git add . && git commit -m "chore: Update dependencies" && git push -f origin ${UPDATE_BRANCH} && ./scripts/open-mr.sh)'
|
- 'git diff --exit-code || (git checkout -B ${UPDATE_BRANCH} && git add . && git commit -m "chore: Update dependencies" && git push -f origin ${UPDATE_BRANCH} && ./scripts/open-mr.sh)'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue