ci(docs-infra): fix deployment to Firebase (#26746)
Previously, `firebase-tools@3.x` was used and the deployment from CircleCI failed with `Unexpected error` (HTTP code: 410). This commit ensures that we use a recent version of `firebase-tools` for deploying to Firebase. It also ensures that we use the locally installed `firebase-tools` (not sure where it came from before 😁). PR Close #26746
This commit is contained in:
parent
141f9b2386
commit
f1a860fbf7
|
@ -113,7 +113,7 @@
|
|||
"entities": "^1.1.1",
|
||||
"eslint": "^3.19.0",
|
||||
"eslint-plugin-jasmine": "^2.2.0",
|
||||
"firebase-tools": "^3.2.1",
|
||||
"firebase-tools": "^5.1.1",
|
||||
"fs-extra": "^2.1.2",
|
||||
"globby": "^6.1.0",
|
||||
"hast-util-is-element": "^1.0.0",
|
||||
|
|
|
@ -106,8 +106,8 @@ fi
|
|||
yarn payload-size
|
||||
|
||||
# Deploy to Firebase
|
||||
firebase use "$projectId" --token "$firebaseToken"
|
||||
firebase deploy --message "Commit: $CI_COMMIT" --non-interactive --token "$firebaseToken"
|
||||
yarn firebase use "$projectId" --token "$firebaseToken"
|
||||
yarn firebase deploy --message "Commit: $CI_COMMIT" --non-interactive --token "$firebaseToken"
|
||||
|
||||
# Run PWA-score tests
|
||||
yarn test-pwa-score "$deployedUrl" "$CI_AIO_MIN_PWA_SCORE"
|
||||
|
|
1842
aio/yarn.lock
1842
aio/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue