modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-07-01 22:53:21 +08:00
parent 9f75e70497
commit 981896cf05

View File

@ -279,10 +279,10 @@ jobs:
echo $LATEST_VERSION $(date +"%s") > ./publish/NEWESTa7.${{ matrix.channel }}
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 }}
bye
EOF
set sftp:auto-confirm yes
mirror --reverse --verbose ./publish ${{ secrets.SSH_DIRECTORY }}/${{ env.LATEST_VERSION }}
bye
EOF
- name: Delete Release tag ${{ env.LATEST_VERSION }}
run: |