Skip to content

Commit 029f14c

Browse files
committed
test deploy
1 parent cecb125 commit 029f14c

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,21 @@ jobs:
3232

3333
- name: Prepare deployment directory (exclude versions/)
3434
run: |
35-
mkdir deploy
35+
mkdir -p /tmp/deploy
3636
rsync -av \
37-
--exclude=versions \
38-
--exclude=.github \
39-
--exclude=.git \
40-
--exclude=.gitignore \
41-
--exclude=README.md \
42-
--exclude=deploy.json \
43-
./ ./deploy/
37+
--exclude '**/versions' \
38+
--exclude '**/versions/**' \
39+
--exclude '.git' \
40+
--exclude '.github' \
41+
--exclude '.gitignore' \
42+
--exclude 'README.md' \
43+
--exclude 'deploy.json' \
44+
./ /tmp/deploy/
4445
4546
- name: Upload artifact
4647
uses: actions/upload-pages-artifact@v3
4748
with:
48-
path: './deploy'
49+
path: /tmp/deploy
4950

5051
- name: Deploy to GitHub Pages
5152
id: deployment

0 commit comments

Comments
 (0)