mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
bac14b136b
commit
8a5d03ec29
15
.github/workflows/mikrotik_patch.yml
vendored
15
.github/workflows/mikrotik_patch.yml
vendored
@ -279,14 +279,15 @@ jobs:
|
||||
cp ./new_iso/*.npk ./publish/
|
||||
|
||||
- name: Sync files
|
||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
|
||||
uses: SamKirkland/web-deploy@v1
|
||||
with:
|
||||
server: ${{ secrets.FTP_SERVER }}
|
||||
username: ${{ secrets.FTP_USERNAME }}
|
||||
password: ${{ secrets.FTP_PASSWORD }}
|
||||
port: ${{ secrets.FTP_PORT }}
|
||||
server-dir: "${{ secrets.FTP_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
|
||||
local-dir: ./publish/
|
||||
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/
|
||||
|
||||
|
||||
- name: Delete Release tag ${{ env.LATEST_VERSION }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user