Try creating the _site directory from scratch
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 2m8s

This commit is contained in:
Lewis Dale 2024-03-07 14:41:13 +00:00
parent 4ec0e4098f
commit e435cba894
2 changed files with 2 additions and 2 deletions

View File

@ -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
run: scp -rp _site/. ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html/_site/

View File

@ -1,7 +1,7 @@
name: Build on push
on:
schedule:
- cron: '@hourly'
- cron: '@weekly'
jobs:
build-webhook: