mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 22:56:54 +08:00
fix: creating destDir
This commit is contained in:
parent
cf805b9457
commit
cdcccad319
@ -39,7 +39,7 @@ export async function copyAssets(
|
|||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
core.info(`[INFO] prepare publishing assets`);
|
core.info(`[INFO] prepare publishing assets`);
|
||||||
|
|
||||||
if (fs.existsSync(destDir) === false) {
|
if (!fs.existsSync(destDir)) {
|
||||||
core.info(`[INFO] create ${destDir}`);
|
core.info(`[INFO] create ${destDir}`);
|
||||||
await createDir(destDir);
|
await createDir(destDir);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user