Skip to content

Commit

Permalink
Set user details
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 13, 2023
1 parent bb76c06 commit 2c17f73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/publish-action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const publishAction = async ({ version, repo }) => {
await cpy(['action-src/CHANGELOG.md', 'action-src/LICENSE', 'action-src/README.md'], path);

await run('git init -b main');
await run('git config user.name "Chromatic"');
await run('git config user.email "[email protected]"');
await run(`git remote add origin https://${process.env.GH_TOKEN}@github.com/${repo}.git`);
await run('git add .');
await run(`git commit -m ${version}`);
Expand Down

0 comments on commit 2c17f73

Please sign in to comment.