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: