Skip to content

Commit 4b5cbed

Browse files
committed
index.js
1 parent e8da5de commit 4b5cbed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ async function install_cplay() {
1414

1515
function cplay_ci() {
1616

17-
const gh_context = JSON.stringify(github.context, undefined, 2)
18-
console.log(`The context: ${gh_context}`);
17+
// const gh_context = JSON.stringify(github.context, undefined, 2)
18+
// console.log(`The context: ${gh_context}`);
1919

2020
const payload = JSON.stringify(github.context.payload, undefined, 2)
2121
console.log(`The event payload: ${payload}`);
2222

23-
const repository = github.context.payload.repository.fullname;
23+
const repository = github.context.payload.repository.full_name;
2424
const commit = github.context.payload.after;
25-
const sha = github.context.sha;
25+
const sha = github.context.sha;
2626

2727
console.log(`GIT REPO: ${repository}`);
2828
console.log(`GIT ID: ${commit}`);

0 commit comments

Comments
 (0)