modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-07-01 12:55:05 +08:00
parent a788f5964c
commit ba331bcab2

View File

@ -274,7 +274,7 @@ jobs:
cp CHANGELOG.txt ./publish/ cp CHANGELOG.txt ./publish/
cp ./new_iso/*.npk ./publish/ cp ./new_iso/*.npk ./publish/
sudo apt-get install -y lftp sudo apt-get install -y lftp
sudo 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 set sftp:auto-confirm yes
mirror --reverse --verbose ./publish ${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }} mirror --reverse --verbose ./publish ${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}
bye bye