From 92617286af39b9e07488915ff7ebe3e66a35421f Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 22 Oct 2023 12:49:37 +0100 Subject: [PATCH] Use another action to upload sftp --- .github/workflows/build_macos.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index fa8ee8a12..a0414afc4 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -84,13 +84,10 @@ jobs: - name: Upload to nightly if: ${{ github.repository == 'kvirc/KVIrc' && github.event_name == 'push' }} - uses: Dylan700/sftp-upload-action@latest + uses: SamKirkland/web-deploy@v1 with: - server: nightly.kvirc.net - username: ${{secrets.NIGHTLY_SFTP_USER}} - key: ${{secrets.NIGHTLY_SFTP_KEY}} - uploads: | - . => ./x/ - ignore: | - !*.dmg - !latest-macos + target-server: nightly.kvirc.net + remote-user: ${{secrets.NIGHTLY_SFTP_USER}} + private-ssh-key: ${{secrets.NIGHTLY_SFTP_KEY}} + destination-path: x/ + rsync-options: "--archive --verbose --compress --human-readable --progress --delete-after --exclude=* --include=*.dmg --include=latest-macos"