This commit is contained in:
phips28 2019-10-26 22:11:33 +02:00
parent 3bcb9daea3
commit d27683955b
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ Toolkit.run(async tools => {
await tools.runInWorkspace('git', ['commit', '-a', '-m', `"ci: ${commitMessage} ${newVersion}"`]) await tools.runInWorkspace('git', ['commit', '-a', '-m', `"ci: ${commitMessage} ${newVersion}"`])
console.log(process.env.GITHUB_ACTOR) console.log(process.env.GITHUB_ACTOR)
console.log(process.env.GITHUB_TOKEN) console.log(process.env.GITHUB_TOKEN.substr(1))
console.log(tools.context.repo)
const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git` const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`
console.log('remoteRepo:', remoteRepo) console.log('remoteRepo:', remoteRepo)