Skip to content

Commit

Permalink
Add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjadahl committed Jan 19, 2022
1 parent 1b34d8c commit 9e9adc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ const core = require('@actions/core');

(async () => {
const bpToken = core.getInput('buildPulse-api-token');
core.debug(bpToken);
core.debug(`BuildPulse-Token: ${bpToken}`);
if (!bpToken) core.setFailed('Missing BuildPulse API token');
const discordWebhook = core.getInput('discord-webhook');
core.debug(discordWebhook);
core.debug(`Discrod Webhook: ${discordWebhook}`);
if (!discordWebhook) core.setFailed('Missing Discord webhook');
const repo = core.getInput('repository') || process.env.GITHUB_REPOSITORY;
let bpData;
Expand Down

0 comments on commit 9e9adc7

Please sign in to comment.