ci(aio): fix deploy-to-firebase script (#23470)

Temporary workaround for angular/angular-cli#10398.
The behavior of `yarn build` remains the same, but building for a
specific deployment env (e.g. archive, next) requires
`yarn build-for $deployEnv`.

PR Close #23470
This commit is contained in:
George Kalpakas
2018-04-20 18:41:12 +03:00
committed by Victor Berchet
parent b1d03fe70b
commit dab5df9734
2 changed files with 6 additions and 5 deletions

View File

@ -87,7 +87,7 @@ fi
cd "`dirname $0`/.."
# Build the app
yarn build --configuration=$deployEnv
yarn build-for $deployEnv
# Include any mode-specific files
cp -rf src/extra-files/$deployEnv/. dist/