From acdde1cbeecff9b9fe330c5a568d91c2dd4e1fd8 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 7 Mar 2024 14:45:07 +0000 Subject: [PATCH] scp using * --- .gitea/workflows/build-and-copy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index da06711..d858cd5 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -25,4 +25,4 @@ jobs: key: ${{ secrets.SSH_KEY }} known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} - name: Copy _site to prod - run: scp -rp _site/. ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/blog/ \ No newline at end of file + run: scp -rp _site/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/blog/ \ No newline at end of file