Skip to content

Commit ce0fd4a

Browse files
committed
Add console logging
1 parent 361fa5d commit ce0fd4a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ exports.createDeployment = async function(applicationName, fullRepositoryName, b
185185
const core = __webpack_require__(2186);
186186
const github = __webpack_require__(5438);
187187
const payload = github.context.payload;
188+
console.log('event context' + JSON.stringify(context));
189+
console.log('event payload' + JSON.stringify(payload));
188190
const action = __webpack_require__(9013);
189191

190192
const applicationName = core.getInput('application') || payload.repository.name; // like "Hello-World"

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
const core = require('@actions/core');
55
const github = require('@actions/github');
66
const payload = github.context.payload;
7+
console.log('event context' + JSON.stringify(context));
8+
console.log('event payload' + JSON.stringify(payload));
79
const action = require('./create-deployment');
810

911
const applicationName = core.getInput('application') || payload.repository.name; // like "Hello-World"

0 commit comments

Comments
 (0)