Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kabir0x23 committed Nov 1, 2024
1 parent 87176ef commit 71fd409
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ jobs:
- name: Clone the gh-pages branch
run: |
git clone --single-branch --branch gh-pages https://github.com/th3cyb3rhub/TheCyberHUB.git temp
# Remove existing directories before copying
# List the contents of the temp directory to verify files are present
Get-ChildItem temp
# Check if the target folder exists and remove if necessary
if (Test-Path ".github") {
Remove-Item -Recurse -Force ".github"
}
# Copy necessary files into your source directory
Copy-Item -Recurse temp/* .
Copy-Item -Recurse -Path "temp/*" -Destination "." -Force
- name: List files after copying
run: |
Get-ChildItem
- name: Clear Electron Builder Cache
run: |
Expand Down

0 comments on commit 71fd409

Please sign in to comment.