From b084017ec596eff58179afb0fa453e5b95894dd1 Mon Sep 17 00:00:00 2001 From: arf20 <35542215+arf20@users.noreply.github.com> Date: Wed, 14 Feb 2024 03:08:00 +0100 Subject: [PATCH] Use rsync directly with rsync protocol --- .github/workflows/deb.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml index fa27fc1..befdccd 100644 --- a/.github/workflows/deb.yml +++ b/.github/workflows/deb.yml @@ -35,12 +35,8 @@ jobs: name: ${{env.pkg_name}}.deb path: ${{env.pkg_name}}.deb + - name: Install rsync + run: apt install rsync + - name: Upload deb to repo - uses: burnett01/rsync-deployments@6.0.0 - with: - switches: -avzr --delete - path: . - remote_path: /debupload/pool/contrib/ - remote_host: arf20.com - remote_user: debupload - remote_key: ${{secrets.RSYNC_REPO_PASS}} + run: RSYNC_PASSWORD=${{secrets.RSYNC_REPO_PASS}} rsync -avz ${{env.pkg_name}}.deb rsync://debupload@arf20.com/debupload/pool/contrib/