mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 05:25:00 +03:00
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
23a853d585
commit
bd097583eb
3
.github/workflows/mikrotik_patch_7.yml
vendored
3
.github/workflows/mikrotik_patch_7.yml
vendored
@ -388,9 +388,10 @@ 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
|
||||
sudo apt-get install ssh sshpass
|
||||
sshpass -p "${{ secrets.SSH_PASSWORD }}" ssh -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_SERVER }} "chown -R 32768:32768 ${{ secrets.SSH_DIRECTORY }}"
|
||||
|
||||
- name: Clear Cloudflare cache
|
||||
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||
|
Loading…
Reference in New Issue
Block a user