Skip to content

Commit

Permalink
Use another action to upload sftp
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGandalf committed Oct 22, 2023
1 parent 3ea2d89 commit 9261728
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9261728

Please sign in to comment.