Preserve server blog content: exclude blog/ from rsync --delete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f7f1376568
commit
5fa337d97a
1 changed files with 1 additions and 0 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
|
@ -33,6 +33,7 @@ jobs:
|
|||
- name: Deploy to server
|
||||
run: |
|
||||
rsync -avz --delete \
|
||||
--exclude='blog/' \
|
||||
-e "ssh -p 1220 -i ~/.ssh/id_deploy" \
|
||||
dist/ ubuntu@57.128.160.249:/opt/00-infrastructure/Website/website/dist/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue