Skip to content

Commit

Permalink
Merge pull request #530 from primer/storybook_user
Browse files Browse the repository at this point in the history
Adding user details to storybook publish script
  • Loading branch information
shawnbot authored Oct 17, 2018
2 parents 03eec2c + a462f29 commit be4153d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/publish-storybook
Original file line number Diff line number Diff line change
Expand Up @@ -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, ''))
Expand Down

0 comments on commit be4153d

Please sign in to comment.