chore(CI): upgrade to Circle CI v2 and leverage multiple containers for demo builds (#10991)

* trying Circle CI v2

* paths are fun

* seeing how long a demos build takes

* Batching Demo builds

* testing demo builds on CI2

* batches count from 0

* ok, looks good. preparing for master branch

* forgot `production=true` flag. let’s test that quick.

* forgot to save the file

* making sure that docs are still copied over to ionic-site in the deploy phase

* getting ready for the PR again
This commit is contained in:
Perry Govier
2017-03-30 21:32:29 -05:00
committed by Dan Bucholtz
parent eb468d2530
commit 44f36c4509
3 changed files with 67 additions and 25 deletions

View File

@ -30,7 +30,8 @@ task('docs.dgeni', () => {
}
});
task('docs.demos', ['demos.prod'], (done: Function) => {
task('docs.demos', (done: Function) => {
// Copy demos already built from gulp demos.prod task to ionic-site
const config = require('../../config.json');
const outputDir = join(config.docsDest, 'demos');
let promises = [];