parent
1ba804fd03
commit
1b94a74dfc
|
@ -69,8 +69,8 @@ function run() {
|
||||||
core.info(`🏃 Copying ${path.join(currentdir, build_dir)} contents to ${tmpdir}`);
|
core.info(`🏃 Copying ${path.join(currentdir, build_dir)} contents to ${tmpdir}`);
|
||||||
fs_extra_1.copySync(path.join(currentdir, build_dir), tmpdir);
|
fs_extra_1.copySync(path.join(currentdir, build_dir), tmpdir);
|
||||||
if (fqdn) {
|
if (fqdn) {
|
||||||
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(build_dir, 'CNAME')}`);
|
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`);
|
||||||
fs.writeFileSync(path.join(build_dir, 'CNAME'), fqdn.trim());
|
fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
|
||||||
}
|
}
|
||||||
core.info(`🔨 Configuring git committer to be ${committer_name} <${committer_email}>`);
|
core.info(`🔨 Configuring git committer to be ${committer_name} <${committer_email}>`);
|
||||||
yield exec.exec('git', ['config', 'user.name', committer_name]);
|
yield exec.exec('git', ['config', 'user.name', committer_name]);
|
||||||
|
|
|
@ -55,8 +55,8 @@ async function run() {
|
||||||
copySync(path.join(currentdir, build_dir), tmpdir);
|
copySync(path.join(currentdir, build_dir), tmpdir);
|
||||||
|
|
||||||
if (fqdn) {
|
if (fqdn) {
|
||||||
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(build_dir, 'CNAME')}`);
|
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`);
|
||||||
fs.writeFileSync(path.join(build_dir, 'CNAME'), fqdn.trim());
|
fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
core.info(`🔨 Configuring git committer to be ${committer_name} <${committer_email}>`);
|
core.info(`🔨 Configuring git committer to be ${committer_name} <${committer_email}>`);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user