feat(ci): remove meta folders
This commit is contained in:
committed by
Tobias Fried
parent
e28695fcd2
commit
6d2358ffe7
1
.github/workflows/sync-docs.yaml
vendored
1
.github/workflows/sync-docs.yaml
vendored
@@ -5,6 +5,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
- '.github/FUNDING.yaml'
|
- '.github/FUNDING.yaml'
|
||||||
|
- '.github/logo.png'
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
workflow_dispatch: # Allows manual triggering
|
workflow_dispatch: # Allows manual triggering
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
# Phosphor Icons
|
# Phosphor Icons
|
||||||
|
|
||||||
<!-- BEGIN_LOGO -->
|
<!-- BEGIN_LOGO -->
|
||||||
<img src="/.github/logo.png" width="128" align="right" />
|
<img src="/.github/logo.png" width="128" align="right" />
|
||||||
<!-- END_LOGO -->
|
<!-- END_LOGO -->
|
||||||
|
|
||||||
|
|
||||||
<!-- BEGIN_OVERVIEW -->
|
<!-- BEGIN_OVERVIEW -->
|
||||||
Phosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really.
|
Phosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really.
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const LOGO_PATH = ".github/logo.png";
|
|||||||
const SYNC_SECTIONS = ["LOGO", "OVERVIEW", "LINKS"];
|
const SYNC_SECTIONS = ["LOGO", "OVERVIEW", "LINKS"];
|
||||||
const SYNC_FILES: Array<string | Array<string>> = [
|
const SYNC_FILES: Array<string | Array<string>> = [
|
||||||
[FUNDING_PATH, ".github/FUNDING.yml"],
|
[FUNDING_PATH, ".github/FUNDING.yml"],
|
||||||
LOGO_PATH,
|
[LOGO_PATH, "meta"],
|
||||||
]; // These files will be replaced in the target repository
|
]; // These files will be replaced in the target repository
|
||||||
|
|
||||||
(function main() {
|
(function main() {
|
||||||
@@ -40,7 +40,7 @@ const SYNC_FILES: Array<string | Array<string>> = [
|
|||||||
for (const alias of file) {
|
for (const alias of file) {
|
||||||
const targetPath = path.resolve(__dirname, `../../${targetRepo}/${alias}`);
|
const targetPath = path.resolve(__dirname, `../../${targetRepo}/${alias}`);
|
||||||
if (fs.existsSync(targetPath)) {
|
if (fs.existsSync(targetPath)) {
|
||||||
fs.rmSync(targetPath);
|
fs.rmSync(targetPath, { recursive: true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user