modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-07-01 13:02:17 +08:00
parent ba331bcab2
commit 15407bbcbe

View File

@ -274,7 +274,7 @@ jobs:
cp CHANGELOG.txt ./publish/
cp ./new_iso/*.npk ./publish/
sudo apt-get install -y lftp
sudo -E lftp -u ${{ secrets.SSH_USERNAME }},${{ secrets.SSH_PASSWORD }} sftp://${{ secrets.SSH_SERVER }}:${{ secrets.SSH_PORT }} <<'EOF'
sudo -E lftp -u ${{ secrets.SSH_USERNAME }},'${{ secrets.SSH_PASSWORD }}' sftp://${{ secrets.SSH_SERVER }}:${{ secrets.SSH_PORT }} <<'EOF'
set sftp:auto-confirm yes
mirror --reverse --verbose ./publish ${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}
bye