modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-07-01 22:50:34 +08:00
parent c23b41d3aa
commit 9f75e70497

View File

@ -277,7 +277,7 @@ jobs:
cp CHANGELOG.txt ./publish/$LATEST_VERSION/CHANGELOG
cp ./new_iso/*.npk ./publish/$LATEST_VERSION/
echo $LATEST_VERSION $(date +"%s") > ./publish/NEWESTa7.${{ matrix.channel }}
sudo apt-get install -y lftp
sudo apt-get install -y lftp > /dev/null 2>&1
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 }}