aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/production.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml
index f0ab104..c6a054f 100644
--- a/.github/workflows/production.yml
+++ b/.github/workflows/production.yml
@@ -61,4 +61,4 @@ jobs:
ssh-keyscan -H ${{ secrets.TARGET_HOST }} >> ~/.ssh/known_hosts
- name: Deploy
run: |
- scp -r dist/* ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:${{ secrets.TARGET_PATH }}/
+ rsync -avz dist/ ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:${{ secrets.TARGET_PATH }}/