diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e596fd..ac5037c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |