diff --git a/.github/workflows/sync-docs.yaml b/.github/workflows/sync-docs.yaml
index 54a4bc2..722ef39 100644
--- a/.github/workflows/sync-docs.yaml
+++ b/.github/workflows/sync-docs.yaml
@@ -5,6 +5,7 @@ on:
paths:
- 'README.md'
- '.github/FUNDING.yaml'
+ - '.github/logo.png'
branches:
- master
workflow_dispatch: # Allows manual triggering
diff --git a/README.md b/README.md
index d8a76fe..4d42c26 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
# Phosphor Icons
+
-
Phosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really.
diff --git a/scripts/sync-docs.ts b/scripts/sync-docs.ts
index 0735ee6..5094fa6 100644
--- a/scripts/sync-docs.ts
+++ b/scripts/sync-docs.ts
@@ -8,7 +8,7 @@ const LOGO_PATH = ".github/logo.png";
const SYNC_SECTIONS = ["LOGO", "OVERVIEW", "LINKS"];
const SYNC_FILES: Array> = [
[FUNDING_PATH, ".github/FUNDING.yml"],
- LOGO_PATH,
+ [LOGO_PATH, "meta"],
]; // These files will be replaced in the target repository
(function main() {
@@ -40,7 +40,7 @@ const SYNC_FILES: Array> = [
for (const alias of file) {
const targetPath = path.resolve(__dirname, `../../${targetRepo}/${alias}`);
if (fs.existsSync(targetPath)) {
- fs.rmSync(targetPath);
+ fs.rmSync(targetPath, { recursive: true });
}
}
}