modified: .github/workflows/mikrotik_patch.yml

modified:   .github/workflows/mikrotik_patch.yml
This commit is contained in:
zyb 2024-07-01 04:30:52 +08:00
parent bfa0c3ed0a
commit 6f20f4bb69

View File

@ -277,6 +277,7 @@ jobs:
mkdir ./publish
cp CHANGELOG.txt ./publish/
cp ./new_iso/*.npk ./publish/
touch ./publish/.ftp-deploy-sync-state.json
- name: Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
@ -284,6 +285,7 @@ jobs:
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/