Skip to content

Commit

Permalink
misc: nest deployed-report directory (#9434)
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny authored and paulirish committed Nov 6, 2019
1 parent 1bc3f23 commit d9bf4be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lighthouse-core/scripts/build-report-for-autodeployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const {defaultSettings} = require('../config/constants.js');
const lighthouse = require('../index.js');
const lhr = /** @type {LH.Result} */ (require('../../lighthouse-core/test/results/sample_v2.json'));

const DIST = path.join(__dirname, `../../dist`);
const DIST = path.join(__dirname, `../../dist/now`);

(async function() {
addPluginCategory(lhr);
Expand Down
3 changes: 2 additions & 1 deletion now.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"builds": [
{
"src": "package.json",
"use": "@now/static-build"
"use": "@now/static-build",
"config": {"distDir": "dist/now"}
}
],
"github": {
Expand Down

0 comments on commit d9bf4be

Please sign in to comment.