From 843049718a7a8973c617920bb0f252df268157ea Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Sat, 26 Jan 2019 22:17:41 +0000 Subject: [PATCH] fix: more debugging --- .github/main.workflow | 2 +- cli.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/main.workflow b/.github/main.workflow index b856c46..9dc6ff2 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -34,5 +34,5 @@ action "Publish Filter" { action "NPM Publish" { needs = "Publish Filter" { uses = "mikeal/merge-release@master" - secrets = ["NPM_AUTH_TOKEN"] + secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"] } diff --git a/cli.js b/cli.js index b0bf05e..0b8016c 100644 --- a/cli.js +++ b/cli.js @@ -1 +1,2 @@ console.log(process.env) +console.log(fs.readFileSync('/github/workflow/event.json').toString())