Skip to content

Commit

Permalink
Update token property
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Jun 8, 2021
1 parent 2603035 commit 6c1be37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function run() {
? repository.full_name
: process_1.default.env.GITHUB_REPOSITORY;
const deployOptions = {
accessToken: gitHubToken,
token: gitHubToken,
repositoryName,
branch: core.getInput('branch') || 'gh-pages',
folder: 'book',
Expand Down
2 changes: 1 addition & 1 deletion src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function run(): Promise<void> {
: process.env.GITHUB_REPOSITORY

const deployOptions = {
accessToken: gitHubToken,
token: gitHubToken,
repositoryName,
branch: core.getInput('branch') || 'gh-pages',
folder: 'book',
Expand Down

0 comments on commit 6c1be37

Please sign in to comment.