mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 22:56:54 +08:00
fix: add debug
This commit is contained in:
parent
6edc4c9764
commit
fb54d6af4d
@ -25,6 +25,7 @@ export async function copyAssets(
|
|||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const copyOpts = {recursive: true, force: false};
|
const copyOpts = {recursive: true, force: false};
|
||||||
const files = fs.readdirSync(publishDir);
|
const files = fs.readdirSync(publishDir);
|
||||||
|
core.debug(`${files}`);
|
||||||
for await (const file of files) {
|
for await (const file of files) {
|
||||||
if (file.endsWith('.git') || file.endsWith('.github')) {
|
if (file.endsWith('.git') || file.endsWith('.github')) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user