Skip to content

Commit ef2b771

Browse files
authored
chore: use rsync replace copy
1 parent b63ca9e commit ef2b771

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update_docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
git rm -rf . || true
6969
7070
# Copy built documentation
71-
cp -r ../_build/* .
71+
apt-get update && apt-get install -y rsync
72+
rsync -av --delete ../_build/ .
7273
7374
# Configure git
7475
git config user.name "${GIT_USER_NAME}"

0 commit comments

Comments
 (0)