Skip to content

Commit

Permalink
requirements change 14
Browse files Browse the repository at this point in the history
  • Loading branch information
ProdByGodfather committed Jan 11, 2025
1 parent 6aa2a8f commit 284aa22
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,15 @@ jobs:
- name: Replace site contents
run: |
rm -rf *
cp -r ../site/* ./ || echo "No files to copy from '../site'."
# Safely remove files except .git and other essential files
find . -mindepth 1 ! -name '.git' ! -name '.gitignore' -exec rm -rf {} +
echo "google-site-verification: googlee5febdfb3cd460f8.html" > googlee5febdfb3cd460f8.html
# Ensure site directory exists and copy its contents
if [ -d ../site ]; then
cp -r ../site/* ./
else
echo "Build directory '../site' does not exist or is empty."
fi
- name: Commit changes
run: |
Expand Down

0 comments on commit 284aa22

Please sign in to comment.