mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2026-03-01 08:01:01 +08:00
update config.js
This commit is contained in:
parent
b501245ebf
commit
fbc057e240
@ -39,6 +39,7 @@ const readSshKey = (SshKeyPath) => {
|
||||
};
|
||||
|
||||
const initConfig = () => {
|
||||
console.info('⚠️ [initConfig] start.');
|
||||
const inputValue = process.env[inputConfigKey] || process.env[`INPUT_${inputConfigKey}`];
|
||||
if (inputValue) {
|
||||
const path = `${githubWorkspace}/${inputValue}`;
|
||||
@ -51,6 +52,7 @@ const initConfig = () => {
|
||||
}
|
||||
}
|
||||
});
|
||||
console.info('⚠️ [initConfig] end. process.env:', JSON.stringify(process.env));
|
||||
return;
|
||||
}
|
||||
console.warn('⚠️ [initConfig] CONFIG_PATH is not defined');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user