Skip to content

Commit 14f31a3

Browse files
Refactor file copying logic in deploy.yml
1 parent e5584d8 commit 14f31a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
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
5656
mkdir -p "$(dirname $file)"
57-
rsync -a "$file" "$(dirname $file)/"
58-
done
57+
cp "$file" "$(dirname $file)/"
58+
done
5959
6060
# Step 8: Deploy to GitHub Pages
6161
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)