mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
5d7455b854
commit
c26b1fecea
1 changed files with 8 additions and 9 deletions
17
.github/workflows/mikrotik_patch.yml
vendored
17
.github/workflows/mikrotik_patch.yml
vendored
|
|
@ -278,16 +278,15 @@ jobs:
|
||||||
cp CHANGELOG.txt ./publish/
|
cp CHANGELOG.txt ./publish/
|
||||||
cp ./new_iso/*.npk ./publish/
|
cp ./new_iso/*.npk ./publish/
|
||||||
|
|
||||||
- name: Sync files
|
- name: Publish files
|
||||||
uses: SamKirkland/web-deploy@v1
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
|
||||||
with:
|
with:
|
||||||
target-server: ${{ secrets.SSH_SERVER }}
|
server: ${{ secrets.SSH_SERVER }}
|
||||||
remote-user: ${{ secrets.SSH_USERNAME }}
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
private-ssh-key: ${{ secrets.SSH_KEY }}
|
ssh_private_key: ${{ secrets.SSH_KEY }}
|
||||||
ssh-port: ${{ secrets.SSH_PORT }}
|
port: ${{ secrets.SSH_PORT }}
|
||||||
destination-path: "${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
|
remote_path: "${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
|
||||||
source-path: ./publish/
|
local_path: ./publish/*
|
||||||
rsync-options: --archive --verbose --stats --compress --delete-after --human-readable
|
|
||||||
|
|
||||||
- name: Delete Release tag ${{ env.LATEST_VERSION }}
|
- name: Delete Release tag ${{ env.LATEST_VERSION }}
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue