diff --git a/.forgejo/workflows/tfclient.yml b/.forgejo/workflows/tfclient.yml index ca03f92..07dd44d 100644 --- a/.forgejo/workflows/tfclient.yml +++ b/.forgejo/workflows/tfclient.yml @@ -30,4 +30,4 @@ jobs: command: build args: --release --bin tfclient - name: Upload binary - run: sshpass -p "${{ secrets.TIRFID_DLCDN_PASSWORD }}" rsync -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }} -o StrictHostKeyChecking=no' target/release/tfclient ${{ secrets.TRIFID_DLCDN_USER }}@${{ secrets.TRIFID_DLCDN_IP }}:${{ secrets.TRIFID_DLCDN_PATH }}/tfclient/amd64/$GITHUB_SHA/tfclient \ No newline at end of file + run: sshpass -p "${{ secrets.TIRFID_DLCDN_PASSWORD }}" rsync --mkpath -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }} -o StrictHostKeyChecking=no' target/release/tfclient ${{ secrets.TRIFID_DLCDN_USER }}@${{ secrets.TRIFID_DLCDN_IP }}:${{ secrets.TRIFID_DLCDN_PATH }}/tfclient/amd64/$GITHUB_SHA/tfclient \ No newline at end of file