Skip to content

Commit 71fd409

Browse files
committed
Update build.yml
1 parent 87176ef commit 71fd409

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@ 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
27+
# List the contents of the temp directory to verify files are present
28+
Get-ChildItem temp
29+
# Check if the target folder exists and remove if necessary
2830
if (Test-Path ".github") {
2931
Remove-Item -Recurse -Force ".github"
3032
}
3133
# Copy necessary files into your source directory
32-
Copy-Item -Recurse temp/* .
34+
Copy-Item -Recurse -Path "temp/*" -Destination "." -Force
35+
36+
- name: List files after copying
37+
run: |
38+
Get-ChildItem
3339
3440
- name: Clear Electron Builder Cache
3541
run: |

0 commit comments

Comments
 (0)