modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-07-01 05:35:21 +08:00
parent bac14b136b
commit 8a5d03ec29

View File

@ -279,14 +279,15 @@ jobs:
cp ./new_iso/*.npk ./publish/ cp ./new_iso/*.npk ./publish/
- name: Sync files - name: Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5 uses: SamKirkland/web-deploy@v1
with: with:
server: ${{ secrets.FTP_SERVER }} target-server: ${{ secrets.SSH_SERVER }}
username: ${{ secrets.FTP_USERNAME }} remote-user: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }} private-ssh-key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.FTP_PORT }} ssh-port: ${{ secrets.SSH_PORT }}
server-dir: "${{ secrets.FTP_DIRECTORY }}/${{ env.LATEST_VERSION }}/" destination-path: "${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
local-dir: ./publish/ source-path: ./publish/
- name: Delete Release tag ${{ env.LATEST_VERSION }} - name: Delete Release tag ${{ env.LATEST_VERSION }}
run: | run: |