scp using *
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m46s

This commit is contained in:
Lewis Dale 2024-03-07 14:45:07 +00:00
parent 8d8684a745
commit acdde1cbee

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