From dc8118e5ab8f06256364f5ed87b3575533f9d8a1 Mon Sep 17 00:00:00 2001 From: elseif Date: Fri, 29 Nov 2024 11:30:52 +0800 Subject: [PATCH] Update mikrotik_patch_6.yml Signed-off-by: elseif --- .github/workflows/mikrotik_patch_6.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/mikrotik_patch_6.yml b/.github/workflows/mikrotik_patch_6.yml index f16d8068..f5db4f94 100644 --- a/.github/workflows/mikrotik_patch_6.yml +++ b/.github/workflows/mikrotik_patch_6.yml @@ -232,8 +232,7 @@ jobs: mirror --reverse --verbose --only-newer ./publish ${{ secrets.SSH_DIRECTORY }} bye EOF - sshpass -p "${{ secrets.SSH_PASSWORD }}" ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_SERVER }} "chown -R 32768:32768 ${{ secrets.SSH_DIRECTORY }}" - + sshpass -p "${{ secrets.SSH_PASSWORD }}" ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_SERVER }} "chown -R 32768:32768 /rw/disk/${{ secrets.SSH_DIRECTORY }}/" - name: Clear Cloudflare cache if: steps.get_latest.outputs.has_new_version == 'true' run: |