From a08dfcf4c174b708c668c2636e0b91bf5bbc821c Mon Sep 17 00:00:00 2001 From: Amy Retzerau Date: Wed, 24 Sep 2025 18:48:45 +0200 Subject: [PATCH] fix: added recursion to scp in action --- .gitea/workflows/demo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index cf46bf9..64b2a0b 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -35,6 +35,6 @@ jobs: run: npm run build - name: upload to web run: | - scp -i ${{ github.workspace }}/../private.key -P ${{ secrets.BLOG_PORT }} build/* blog@madeio.net:/var/www/html/ + scp -r -i ${{ github.workspace }}/../private.key -P ${{ secrets.BLOG_PORT }} build/* blog@madeio.net:/var/www/html/ ssh -i ${{ github.workspace }}/../private.key -p ${{ secrets.BLOG_PORT }} blog@madeio.net chmod -R 775 /var/www/html/ - run: echo "🍏 This job's status is ${{ job.status }}."