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
|
||||
script:
|
||||
- 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:
|
||||
paths:
|
||||
- docs/api/
|
||||
- doc/api/
|
||||
only:
|
||||
- main
|
||||
|
||||
|
|
@ -119,7 +118,7 @@ pages:
|
|||
stage: deploy
|
||||
image: alpine:latest
|
||||
script:
|
||||
- mv docs/api/ ./home/api
|
||||
- mv doc/api/ ./home/api
|
||||
- mv doc-public ./home/doc
|
||||
- mv home public
|
||||
dependencies:
|
||||
|
|
@ -182,4 +181,3 @@ update-dependencies:
|
|||
- pub get
|
||||
- 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)'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue