1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 13:12:16 +03:00

Merge pull request #530 from primer/storybook_user

Adding user details to storybook publish script
This commit is contained in:
Shawn Allen 2018-10-17 11:58:40 -07:00 committed by GitHub
commit be4153dad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, ''))