-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb76c06
commit 2c17f73
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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}`); | ||
|