Skip to content

Commit

Permalink
Update mikrotik_patch_6.yml
Browse files Browse the repository at this point in the history
Signed-off-by: elseif <[email protected]>
  • Loading branch information
elseif authored Oct 20, 2024
1 parent 7fdd572 commit 9d06111
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/mikrotik_patch_6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,11 @@ jobs:
- name: Upload Files
if: steps.get_latest.outputs.has_new_version == 'true'
run: |
mkdir -p ./publish/$LATEST_VERSION
sudo mkdir -p ./publish/$LATEST_VERSION
echo $LATEST_VERSION $BUILD_TIME > ./publish/NEWEST6.${{ matrix.channel }}
cp CHANGELOG ./publish/$LATEST_VERSION/
cp ./all_packages/*.npk ./publish/$LATEST_VERSION/
sudo chown -R root:root ./publish/
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
Expand Down

0 comments on commit 9d06111

Please sign in to comment.