From 5cc6228b7b766f751a383b74e0d6d74bcde16a38 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 22 Jul 2025 16:35:47 -0400 Subject: [PATCH] Messing around with rsync more... --- .gitea/workflows/hugo_site_deployment.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/hugo_site_deployment.yml b/.gitea/workflows/hugo_site_deployment.yml index 841d618..0162732 100644 --- a/.gitea/workflows/hugo_site_deployment.yml +++ b/.gitea/workflows/hugo_site_deployment.yml @@ -157,6 +157,14 @@ jobs: uses: GuillaumeFalourd/setup-rsync@v1.2 with: ssh-key: ${{ secrets.VPS_DEPLOY_KEY }} + - name: Testing rsync + env: + VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }} + VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }} + VPS_DEPLOY_DEST: ${{ secrets.VPS_DEPLOY_DEST }} + VPS_DEPLOY_KEY: ${{ secrets.VPS_DEPLOY_KEY }} + run: | + rsync -avz --progress --dry-run README.md ${VPS_DEPLOY_USER}@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST} - name: Gotify Notification uses: eikendev/gotify-action@master with: @@ -169,6 +177,8 @@ jobs: VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }} VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }} VPS_DEPLOY_DEST: ${{ secrets.VPS_DEPLOY_DEST }} + VPS_DEPLOY_KEY: | + $$ {{ secrets.VPS_DEPLOY_KEY }} run: | hugo version hugo --minify --source . -- 2.52.0