From 79856df0ead2c9345561c39fce75e4983c075745 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Tue, 3 Jul 2018 11:21:41 -0700 Subject: [PATCH] Adding user details to storybook publish script --- script/publish-storybook | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/publish-storybook b/script/publish-storybook index 067f1b8f00..29d9329d7b 100755 --- a/script/publish-storybook +++ b/script/publish-storybook @@ -10,7 +10,11 @@ if (!process.env.GH_TOKEN) { ghpages.publish('build',{ branch: 'gh-pages', - repo: `https://primer-css:${process.env.GH_TOKEN}@github.com/primer/storybook.git` + repo: `https://primer-css:${process.env.GH_TOKEN}@github.com/primer/storybook.git`, + user: { + name: 'Primer CSS', + email: 'design-systems@github.com' + } }, (error) => { if(error) { console.error('gh-pages failed to publish:', error.message.replace(process.env.GH_TOKEN, ''))