Run cirrus linux-docs only on presubmit. (#70141)

This commit is contained in:
godofredoc 2021-02-02 18:04:52 -08:00 committed by GitHub
parent 917577b808
commit 7b04422884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,15 +152,14 @@ task:
- dart --enable-asserts ./dev/bots/test.dart
- name: docs-linux # linux-only
# TODO(fujino): Make this pre-submit only once we have migrated docs generation to LUCI (https://github.com/flutter/flutter/issues/64212).
environment:
# TODO(tvolkert): optimize CPU and MEMORY settings once docs generation is more efficient (https://github.com/flutter/flutter/issues/60646).
CPU: 4
MEMORY: 8G
# For uploading master docs to Firebase master branch staging site
FIREBASE_MASTER_TOKEN: ENCRYPTED[eb768d18798fdc5abfe09b224e1724c4d82831d715ccf90df2c79d618c317216cbd99493278361f6fe7948b409b603f0]
# For uploading stable docs to Firebase public live site
FIREBASE_PUBLIC_TOKEN: ENCRYPTED[37e8b82f167864cae9a3f4d2cf3f37dea331d9375c295327c45de524f6c588fa6f6d63e5784f10f6d43ce29689f36c92]
only_if: "$CIRRUS_PR != ''"
script:
- ./dev/bots/docs.sh