diff --git a/dist/index.js b/dist/index.js index ca62542..cc3049f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1836,7 +1836,9 @@ function run() { yield git.checkout(targetBranch); } core.info(`🏃 Copying ${path.join(currentdir, buildDir)} contents to ${tmpdir}`); - yield fs_extra_1.copySync(path.join(currentdir, buildDir), tmpdir); + yield fs_extra_1.copySync(path.join(currentdir, buildDir), tmpdir, { + dereference: true + }); if (fqdn) { core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`); yield fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim()); diff --git a/src/main.ts b/src/main.ts index e8fe012..145270f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -57,7 +57,9 @@ async function run() { } core.info(`🏃 Copying ${path.join(currentdir, buildDir)} contents to ${tmpdir}`); - await copySync(path.join(currentdir, buildDir), tmpdir); + await copySync(path.join(currentdir, buildDir), tmpdir, { + dereference: true + }); if (fqdn) { core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`);