From e435cba8941fc8b6a5eaa8eaea68860c65213e1a Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 7 Mar 2024 14:41:13 +0000 Subject: [PATCH] Try creating the _site directory from scratch --- .gitea/workflows/build-and-copy.yaml | 2 +- .gitea/workflows/update.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index 01ed37e..5f50f5a 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/html \ No newline at end of file + run: scp -rp _site/. ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html/_site/ \ No newline at end of file diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index 25c4ad8..a8e0f18 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -1,7 +1,7 @@ name: Build on push on: schedule: - - cron: '@hourly' + - cron: '@weekly' jobs: build-webhook: