mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
fix: copy force
This commit is contained in:
parent
fb54d6af4d
commit
848165cf9f
@ -23,7 +23,7 @@ export async function copyAssets(
|
|||||||
publishDir: string,
|
publishDir: string,
|
||||||
workDir: string
|
workDir: string
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const copyOpts = {recursive: true, force: false};
|
const copyOpts = {recursive: true, force: true};
|
||||||
const files = fs.readdirSync(publishDir);
|
const files = fs.readdirSync(publishDir);
|
||||||
core.debug(`${files}`);
|
core.debug(`${files}`);
|
||||||
for await (const file of files) {
|
for await (const file of files) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user