Skip to content

Commit 1c02f12

Browse files
authored
Update asset copying in deploy workflow
Change cp command to use -r flag for recursive copy and add ls command for verification.
1 parent 78a219d commit 1c02f12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727

2828
- name: Copy posts to build/web/assets
2929
run: |
30-
mkdir -p build/web/assets/post
31-
cp -a post/. build/web/assets/post/
30+
mkdir -p build/web/assets/post
31+
cp -r post/. build/web/assets/post/
32+
ls -al build/web/assets/post || true
3233
3334
- name: Deploy to GitHub Pages
3435
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)