Copy to a different directory to test
Some checks failed
Build and copy to prod / build-and-copy (push) Has been cancelled

This commit is contained in:
Lewis Dale 2024-03-07 14:43:39 +00:00
parent e435cba894
commit 8d8684a745

View File

@ -25,4 +25,4 @@ jobs:
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Copy _site to prod - name: Copy _site to prod
run: scp -rp _site/. ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html/_site/ run: scp -rp _site/. ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/blog/