mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 05:25:00 +03:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
c23b41d3aa
commit
9f75e70497
2
.github/workflows/mikrotik_patch.yml
vendored
2
.github/workflows/mikrotik_patch.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user