Skip to content

Commit 1130144

Browse files
authored
Update deploy.yml
1 parent d60694f commit 1130144

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
- name: Copy website
1515
run: |
1616
mkdir dist
17-
cp *.html *.css *.js ./dist
17+
files=$(git ls-files | grep -E '\.(html|css|js)$')
18+
cp --parents $files ./dist
1819
- name: Deploy website
1920
run: |
2021
aws configure set default.s3.addressing_style path

0 commit comments

Comments
 (0)