Skip to content

Commit 87176ef

Browse files
committed
Update build.yml
1 parent 359075a commit 87176ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424
- name: Clone the gh-pages branch
2525
run: |
2626
git clone --single-branch --branch gh-pages https://github.com/th3cyb3rhub/TheCyberHUB.git temp
27+
# Remove existing directories before copying
28+
if (Test-Path ".github") {
29+
Remove-Item -Recurse -Force ".github"
30+
}
2731
# Copy necessary files into your source directory
28-
cp -R temp/* . # Adjust this if needed
32+
Copy-Item -Recurse temp/* .
2933
3034
- name: Clear Electron Builder Cache
3135
run: |

0 commit comments

Comments
 (0)