Update mikrotik_patch_7.yml

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2024-11-15 07:11:44 +08:00 committed by GitHub
parent 4c52806821
commit 9b6b8c7e2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -388,6 +388,7 @@ jobs:
sudo -E lftp -u ${{ secrets.SSH_USERNAME }},'${{ secrets.SSH_PASSWORD }}' sftp://${{ secrets.SSH_SERVER }}:${{ secrets.SSH_PORT }} <<EOF
set sftp:auto-confirm yes
mirror --reverse --verbose --only-newer ./publish ${{ secrets.SSH_DIRECTORY }}
chown -R 32768:32768 ${{ secrets.SSH_DIRECTORY }}
bye
EOF