From 7fdd5724bb5318f673cbc196e6987122568b4025 Mon Sep 17 00:00:00 2001 From: elseif Date: Sun, 20 Oct 2024 18:56:38 +0800 Subject: [PATCH] Update mikrotik_patch_7.yml Signed-off-by: elseif --- .github/workflows/mikrotik_patch_7.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mikrotik_patch_7.yml b/.github/workflows/mikrotik_patch_7.yml index ad5120a..cc2a4b4 100644 --- a/.github/workflows/mikrotik_patch_7.yml +++ b/.github/workflows/mikrotik_patch_7.yml @@ -378,10 +378,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/NEWESTa7.${{ 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 }} <