[e2e] log default values

This commit is contained in:
Dragan Filipovic 2023-02-21 14:43:52 +01:00
parent a7b7e1e49d
commit 0fb307eb41

View File

@ -7,7 +7,7 @@ const inputNames = [
'SCRIPT_BEFORE', 'SCRIPT_AFTER']; 'SCRIPT_BEFORE', 'SCRIPT_AFTER'];
const githubWorkspace = process.env.GITHUB_WORKSPACE; const githubWorkspace = process.env.GITHUB_WORKSPACE;
const remoteUser = process.env.REMOTE_USER; const remoteUser = process.env.REMOTE_USER || process.env.INPUT_REMOTE_USER;
const defaultInputs = { const defaultInputs = {
source: '', source: '',
@ -18,6 +18,8 @@ const defaultInputs = {
deployKeyName: `deploy_key_${remoteUser}_${Date.now()}` deployKeyName: `deploy_key_${remoteUser}_${Date.now()}`
}; };
console.log('[DEFAULTS] default inputs', defaultInputs);
const inputs = { const inputs = {
githubWorkspace githubWorkspace
}; };