[e2e] log default values

main
Dragan Filipovic 2023-02-21 14:43:52 +01:00
parent a7b7e1e49d
commit 0fb307eb41
1 changed files with 3 additions and 1 deletions

View File

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