Skip to content

Commit cecb125

Browse files
committed
fix deploy
1 parent c039634 commit cecb125

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ jobs:
3333
- name: Prepare deployment directory (exclude versions/)
3434
run: |
3535
mkdir deploy
36-
rsync -av . ./deploy \
37-
--exclude '**/versions' \
38-
--exclude '**/versions/**' \
39-
--exclude '.git' \
40-
--exclude '.github' \
41-
--exclude '.gitignore'
36+
rsync -av \
37+
--exclude=versions \
38+
--exclude=.github \
39+
--exclude=.git \
40+
--exclude=.gitignore \
41+
--exclude=README.md \
42+
--exclude=deploy.json \
43+
./ ./deploy/
4244
4345
- name: Upload artifact
4446
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)