Unverified Commit e539af46 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update to use dynamic port for stats-app (#8336)

* Update to use dynamic port for stats-app

* Update main.workflow
parent ab0384de
......@@ -10,5 +10,5 @@ workflow "Generate release stats" {
action "PR Stats" {
uses = "zeit/next-stats-action@master"
secrets = ["GITHUB_TOKEN", "PR_STATS_TEMP_TOKEN"]
secrets = ["GITHUB_TOKEN", "PR_STATS_COMMENT_TOKEN"]
}
......@@ -59,7 +59,7 @@ module.exports = {
commentHeading: 'Stats from current PR',
commentReleaseHeading: 'Stats from current release',
appBuildCommand: 'yarn next build',
appStartCommand: 'yarn next start',
appStartCommand: 'yarn next start --port $PORT',
mainRepo: 'zeit/next.js',
mainBranch: 'canary',
autoMergeMain: true,
......@@ -100,9 +100,9 @@ module.exports = {
],
filesToTrack: clientGlobs,
pagesToFetch: [
'http://localhost:3000/link',
'http://localhost:3000/index',
'http://localhost:3000/withRouter'
'http://localhost:$PORT/link',
'http://localhost:$PORT/index',
'http://localhost:$PORT/withRouter'
]
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment