Skip to content

Commit

Permalink
Dereference symlinks (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Aug 6, 2020
1 parent edcd624 commit 0a42a19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/main.ts
Expand Up @@ -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')}`);
Expand Down

0 comments on commit 0a42a19

Please sign in to comment.