diff --git a/lib/main.js b/lib/main.js index ec0cbf0..f36fb10 100644 --- a/lib/main.js +++ b/lib/main.js @@ -73,7 +73,7 @@ function run() { `master:${target_branch}` ]); process.chdir(process.env['GITHUB_WORKSPACE'] || '.'); - core.info(`🎉 Content of $INPUT_BUILD_DIR has been deployed to GitHub Pages.`); + core.info(`🎉 Content of ${build_dir} has been deployed to GitHub Pages.`); } catch (error) { core.setFailed(error.message); diff --git a/src/main.ts b/src/main.ts index 98f521d..cffb239 100644 --- a/src/main.ts +++ b/src/main.ts @@ -62,9 +62,7 @@ async function run() { ]); process.chdir(process.env['GITHUB_WORKSPACE'] || '.'); - core.info( - `🎉 Content of $INPUT_BUILD_DIR has been deployed to GitHub Pages.` - ); + core.info(`🎉 Content of ${build_dir} has been deployed to GitHub Pages.`); } catch (error) { core.setFailed(error.message); }