Browse Source

modified: .github/workflows/mikrotik_patch.yml

pull/55/head
zyb 2 years ago
parent
commit
c26b1fecea
  1. 17
      .github/workflows/mikrotik_patch.yml

17
.github/workflows/mikrotik_patch.yml

@ -278,16 +278,15 @@ jobs:
cp CHANGELOG.txt ./publish/
cp ./new_iso/*.npk ./publish/
- name: Sync files
uses: SamKirkland/web-deploy@v1
- name: Publish files
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
target-server: ${{ secrets.SSH_SERVER }}
remote-user: ${{ secrets.SSH_USERNAME }}
private-ssh-key: ${{ secrets.SSH_KEY }}
ssh-port: ${{ secrets.SSH_PORT }}
destination-path: "${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
source-path: ./publish/
rsync-options: --archive --verbose --stats --compress --delete-after --human-readable
server: ${{ secrets.SSH_SERVER }}
username: ${{ secrets.SSH_USERNAME }}
ssh_private_key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
remote_path: "${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
local_path: ./publish/*
- name: Delete Release tag ${{ env.LATEST_VERSION }}
run: |

Loading…
Cancel
Save