refactor: Remove unused api docs job
This commit is contained in:
parent
dcde0af99e
commit
881f8c3fd8
|
|
@ -1,7 +1,5 @@
|
||||||
stages:
|
stages:
|
||||||
- coverage
|
- coverage
|
||||||
- builddocs
|
|
||||||
- deploy
|
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
@ -23,34 +21,6 @@ code_analyze:
|
||||||
- flutter format lib/ test/ --set-exit-if-changed
|
- flutter format lib/ test/ --set-exit-if-changed
|
||||||
- flutter analyze
|
- flutter analyze
|
||||||
|
|
||||||
build_api_doc:
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
stage: builddocs
|
|
||||||
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"
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- doc/api/
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
|
|
||||||
pages:
|
|
||||||
tags:
|
|
||||||
- linux
|
|
||||||
stage: deploy
|
|
||||||
image: alpine:latest
|
|
||||||
script:
|
|
||||||
- mv doc/api/ public
|
|
||||||
dependencies:
|
|
||||||
- build_api_doc
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
|
|
||||||
dry-run:
|
dry-run:
|
||||||
stage: publish
|
stage: publish
|
||||||
image: dart
|
image: dart
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue