From 10ccaf403261007ca8d6a6229dd8a1136334a0a1 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Wed, 10 May 2023 15:56:55 +0300 Subject: [PATCH] change image --- .gitea/workflows/deploy.yaml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 939bc2b..72df8f1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -25,14 +25,11 @@ jobs: run: hugo --minify - name: Deploy - uses: https://github.com/easingthemes/ssh-deploy@main - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - ARGS: "-rlgoDzvc -i --delete" - SOURCE: "public/" - REMOTE_HOST: digitalstudium.com - REMOTE_USER: root - TARGET: /srv/digitalstudium.com - SCRIPT_BEFORE: | - apt update - apt install -y rsync \ No newline at end of file + uses: burnett01/rsync-deployments@5.2.1 + with: + switches: -avzr --delete + path: "public/" + remote_path: /srv/digitalstudium.com + remote_host: digitalstudium.com + remote_user: root + remote_key: ${{ secrets.SSH_PRIVATE_KEY }}