mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-07 03:51:38 +00:00
fix: add debug
This commit is contained in:
1 parent
6edc4c9764
commit
fb54d6af4d
1 file changed
+1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user