Skip to content

Commit

Permalink
chore: attempt to fix linux build uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 9, 2025
1 parent 2cbcd22 commit d28cb13
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,8 @@ jobs:
path: ${{ steps.rename-build.outputs.artifactname }}

- name: Copy single file to remote
uses: garygrossgarten/[email protected]
if: ${{ steps.rename-build.outputs.uploadname }}
timeout-minutes: 5
with:
local: "${{ steps.rename-build.outputs.uploadname }}"
remote: "${{ secrets.SFTP_ROOT }}/${{ github.ref_name }}/${{ steps.rename-build.outputs.uploadname }}"
host: ${{ secrets.SFTP_HOST }}
username: ${{ secrets.SFTP_USERNAME }}
password: ${{ secrets.SFTP_PASSWORD }}
shell: bash
run: |
sshpass -p "${{ secrets.SFTP_PASSWORD }}" scp -r "${{ secrets.SFTP_USERNAME }}@${{ secrets.SFTP_HOST }}:${{ secrets.SFTP_ROOT }}/${{ github.ref_name }}/${{ steps.rename-build.outputs.uploadname }}" "${{ steps.rename-build.outputs.uploadname }}"

0 comments on commit d28cb13

Please sign in to comment.