From 9ba8c0ca483ea76b86ac7420a34266f7c2bffb60 Mon Sep 17 00:00:00 2001 From: aria Date: Mon, 19 May 2025 20:21:01 +1000 Subject: [PATCH] Raw rsync use --- .forgejo/workflows/deploy.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index aca7af8..a9deac1 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -63,14 +63,9 @@ jobs: apt-get update -y && apt-get install rsync -y - name: rsync deployments - uses: https://github.com/Burnett01/rsync-deployments@7.0.2 - with: - switches: -avzrP - path: dist/ - remote_path: /var/www/Aria/dist - remote_host: ${{ vars.SERVER_HOST }} - remote_user: ${{ vars.SERVER_USER }} - remote_key: ${{ secrets.SSH_KEY }} + run: | + rsync -avzrP ./dist ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }}:/var/www/Aria + - name: Set permissions on the deployed files run: |