From b616bd0a6e28c492b46ef272d0f14b88815ecd29 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Mon, 3 Jul 2023 14:23:11 +0000 Subject: [PATCH] Actualiser .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bdc8cde..aaa6d95 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,7 +33,7 @@ jobs: ls -al public/ - name: Copy (scp) staging build to blog server - uses: https://github.com/appleboy/scp-action@v0.1.4 + uses: nicklasfrahm/scp-action@main with: host: ${{ secrets.SSH_HOSTNAME }} username: root @@ -41,8 +41,6 @@ jobs: key: ${{ secrets.SSH_KEY }} source: 'public/*' target: '/var/www/html/staging' - rm: true - strip_components: 1 - name: Build production run: hugo --gc --minify -b https://blog.broillet.ch/