From 88eb4930eec41412f3df6383229aed931f333625 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Wed, 15 Mar 2023 22:12:12 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.gitea/workflows/prod.yaml=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/prod.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/prod.yaml b/.gitea/workflows/prod.yaml index c2a0155..d187d48 100644 --- a/.gitea/workflows/prod.yaml +++ b/.gitea/workflows/prod.yaml @@ -24,15 +24,14 @@ jobs: run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" - name: deploy - uses: https://github.com/burnett01/rsync-deployments@5.2.1 + uses: https://github.com/D3rHase/rsync-deploy-action@latest with: - switches: -avzr --delete - path: public/ - remote_path: /opt/data/webdata/gcg-website/dev-test/ - remote_host: cantorgymnasium.de - remote_user: web-push - remote_port: ${{ secrets.WEB_PUSH_PORT }} - remote_key: ${{ secrets.WEB_PUSH_KEY }} + HOST: cantorgymnasium.de + PORT: ${{secrets.WEB_PUSH_PORT }} + USER: web-push + PRIVATE_SSH_KEY: ${{secrets.WEB_PUSH_KEY }} + REPOSITORY_PATH: public/ + SERVER_PATH: /opt/data/webdata/gcg-website/dev-test/ - name: search index uses: https://github.com/JimCronqvist/action-ssh@master