mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
fix: add filePath
This commit is contained in:
parent
848165cf9f
commit
f8b5a36401
@ -30,7 +30,8 @@ export async function copyAssets(
|
|||||||
if (file.endsWith('.git') || file.endsWith('.github')) {
|
if (file.endsWith('.git') || file.endsWith('.github')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
await io.cp(file, `${workDir}/`, copyOpts);
|
const filePath = path.join(publishDir, file);
|
||||||
|
await io.cp(filePath, `${workDir}/`, copyOpts);
|
||||||
core.info(`[INFO] copy ${file}`);
|
core.info(`[INFO] copy ${file}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user