Skip to content

Commit e5584d8

Browse files
testign delpoy.yml
1 parent 2ab3199 commit e5584d8

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ jobs:
5353
- name: Copy Non-Minifiable Files
5454
run: |
5555
for file in $(find . -type f ! -name "*.html" ! -name "*.css" ! -name "*.js" ! -path "./node_modules/*" ! -path "./.vscode/*" ! -path "./.idea/*" ! -path "./bootstrap/*"); do
56-
if [ "$file" != "$(dirname $file)/$(basename $file)" ]; then
57-
mkdir -p "$(dirname $file)"
58-
cp "$file" "$(dirname $file)/"
59-
fi
56+
mkdir -p "$(dirname $file)"
57+
rsync -a "$file" "$(dirname $file)/"
6058
done
6159
6260
# Step 8: Deploy to GitHub Pages

0 commit comments

Comments
 (0)