infra: add recursive flag for scp
All checks were successful
Deploy Blog / deploy (push) Successful in 1m8s
All checks were successful
Deploy Blog / deploy (push) Successful in 1m8s
This commit is contained in:
parent
5d21299d65
commit
0cdcc424a4
1 changed files with 1 additions and 1 deletions
|
@ -15,5 +15,5 @@ jobs:
|
|||
echo "${{ secrets.SSH_FORGEJO_KEY }}" > /tmp/ssh_key
|
||||
chmod 600 /tmp/ssh_key
|
||||
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_USER }} "bash -c 'rm -rf /var/www/systemsobscure.blog/*'"
|
||||
scp -i /tmp/ssh_key -o StrictHostKeyChecking=no dist/* ${{ vars.VPS_USER }}:/var/www/systemsobscure.blog/
|
||||
scp -i /tmp/ssh_key -o StrictHostKeyChecking=no -r dist/* ${{ vars.VPS_USER }}:/var/www/systemsobscure.blog/
|
||||
rm /tmp/ssh_key
|
||||
|
|
Loading…
Add table
Reference in a new issue