diff --git a/.forgejo/workflows/tfclient.yml b/.forgejo/workflows/tfclient.yml index 7fffd65..59f9e2c 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: ls -lar target/release \ No newline at end of file + run: ls -lar target/release && sshpass -p "${{ secrets.TIRFID_DLCDN_PASSWORD }}" rsync -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }}' 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