From 7ff82440bc93bb3a1bcbeb79315fd93f93060c92 Mon Sep 17 00:00:00 2001 From: maru Date: Wed, 24 Apr 2024 23:10:16 -0400 Subject: [PATCH] Add checksum to rsync in deploy job --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1ae295180f9..fcf0ec03a0a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,5 +29,5 @@ jobs: - name: Deploy build on server if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch run: | - rsync --del --no-times -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }} + rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }} ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json"