angular-docs-cn/aio/scripts
George Kalpakas f01c713ee2 ci: fix AIO deployment to multiple Firebase sites (#39948)
Since #39853, it is possible to deploy to multiple Firebase sites from a
single branch. In order to deploy to a site, we need to associate an
alias (`aio`) with a site. This is done via the `firebase target:apply`
command. However, when the command is called multiple times, it
associates the alias with many sites, which subsequently fails during
deployment ([example failure][1]), since the `firebase deploy` command
does not know what site to deploy to.

This commit fixes the deployment script by ensuring that any previous
association with the `aio` alias is cleared (via the
`firebase target:clear` command) before associating it with a new site.

[1]: https://circleci.com/gh/angular/angular/871020

PR Close #39948
2020-12-03 13:43:44 -08:00
..
contributors docs(aio): add missing mentors for collaborators (#29142) 2019-04-11 08:06:18 -07:00
audit-web-app.js build: several minor fixes related to using `puppeteer` (#35381) 2020-02-18 12:42:47 -08:00
build-404-page.js
build-artifacts.sh
check-environment.js
create-preview.js
deploy-to-firebase.js ci: fix AIO deployment to multiple Firebase sites (#39948) 2020-12-03 13:43:44 -08:00
deploy-to-firebase.spec.js test(docs-infra): reduce ambiguity in `deploy-to-firebase.js` test descriptions (#39853) 2020-12-02 12:51:39 -08:00
payload.sh ci: migrate payload size tracking goldens to the golden directory (#36455) 2020-04-24 09:05:11 -07:00
switch-to-viewengine.js build(docs-infra): align config with what cli generates for new apps (#32923) 2019-10-04 08:27:21 -07:00
test-aio-a11y.js build(docs-infra): update `lighthouse` to 6.5.0 (#39928) 2020-12-02 11:17:52 -08:00
test-preview.js
test-production.sh ci(docs-infra): ignore node version in `aio_monitoring_stable` CI job (for real) (#35033) 2020-01-29 09:25:46 -08:00