]> jfr.im git - irc/kvirc/KVIrc.git/commitdiff
Use another action to upload sftp
authorAlexey Sokolov <redacted>
Sun, 22 Oct 2023 11:49:37 +0000 (12:49 +0100)
committerAlexey Sokolov <redacted>
Sun, 22 Oct 2023 11:49:37 +0000 (12:49 +0100)
.github/workflows/build_macos.yml

index fa8ee8a12a8acafeb4c4e6781a23c5ee3d84c9ad..a0414afc455df11bed16a47ec8b9a0705f493b03 100644 (file)
@@ -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"