Skip to content

Commit 1b1e9bf

Browse files
requirements change 26
1 parent 699d85f commit 1b1e9bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ jobs:
5555
git config user.name "GitHub Action"
5656
git config user.email "action@github.com"
5757
58-
# Step 7: Clean up existing files and replace with new ones
58+
# Step 7: Clean and Replace site contents
5959
- name: Clean and Replace site contents
6060
run: |
61-
# Remove everything except the .git directory
62-
find . -mindepth 1 ! -name '.git' ! -name '.gitignore' -exec rm -rf {} +
63-
61+
# Remove all files except for the .git directory
62+
find . -mindepth 1 ! -name '.git' ! -name '.gitignore' -exec rm -rf {} +
63+
6464
# Check if the 'site' directory has files and copy them
6565
if [ -d "site" ] && [ "$(ls -A site)" ]; then
6666
cp -r site/* ./ # Copy the contents from the 'site' directory to the root directory

0 commit comments

Comments
 (0)