/* eslint-env node */
'use strict';

const AddonDocsConfig = require('../lib/config');

module.exports = class extends AddonDocsConfig {
  shouldDeploy() {
    let env = process.env;
    if (env.CI) {
      // If in CI, deploy whenever we do a build on master in the default ember-try scenario
      return env.TRAVIS_BRANCH === 'master' && env.EMBER_TRY_SCENARIO === 'ember-default';
    } else {
      // Always deploy when `ember deploy` is manually run
      return true;
    }
  }
}

/* eslint-env node */
'use strict';

const AddonDocsConfig = require('../lib/config');

module.exports = class extends AddonDocsConfig {

}

Fix deploys with new Travis setup
Fix deploys with new Travis setup
