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:
commit
be4153dad0
@ -10,7 +10,11 @@ if (!process.env.GH_TOKEN) {
|
|||||||
|
|
||||||
ghpages.publish('build',{
|
ghpages.publish('build',{
|
||||||
branch: 'gh-pages',
|
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) => {
|
}, (error) => {
|
||||||
if(error) {
|
if(error) {
|
||||||
console.error('gh-pages failed to publish:', error.message.replace(process.env.GH_TOKEN, ''))
|
console.error('gh-pages failed to publish:', error.message.replace(process.env.GH_TOKEN, ''))
|
||||||
|
Loading…
Reference in New Issue
Block a user