ci(aio): include extra files in AIO deployment based on mode

Any files that are inside the `extra-files/{mode}` folder
will be copied over to the `dist` folder before deployment
to Firebase.

See #18287
This commit is contained in:
Peter Bacon Darwin
2017-07-26 20:41:45 +01:00
committed by Victor Berchet
parent bcb36d9b6d
commit 0714139e37
4 changed files with 16 additions and 0 deletions

View File

@ -78,6 +78,9 @@ echo "Deployment URL : $deployedUrl"
# Build the app
yarn build -- --env=$deployEnv
# Include any mode-specific files
cp -rf src/extra-files/$deployEnv/. dist/
# Check payload size
yarn payload-size