Skip to content

Commit 4a61165

Browse files
committed
Add debug console.log
1 parent 536b870 commit 4a61165

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ 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(github.context));
188189
const action = __webpack_require__(9013);
189190

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

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
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(github.context));
78
const action = require('./create-deployment');
89

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

0 commit comments

Comments
 (0)