AAAARGGHHH
Some checks failed
/ build (push) Failing after 15s

This commit is contained in:
Soph :3 2025-10-19 15:14:05 +03:00
parent 00b3d5639c
commit e55322253c

View file

@ -16,8 +16,13 @@ jobs:
name: id_ed25519
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
- name: Adding Known Hosts
run: ssh -o StrictHostKeyChecking=accept-new -q -T ${{ secrets.SSH_USER }}@vps.sad.ovh true
run: C:\Program Files\Git\usr\bin\ssh-keyscan.exe -t rsa vps.sad.ovh
shell: powershell
- name: Deploy with scp
run: scp -i C:\Users\ContainerAdministrator\.ssh\id_ed25519 -r .\dist\* ${{ secrets.SSH_USER }}@vps.sad.ovh:/var/www/sad.ovh
shell: powershell
- name: Fix permissions on server
run: |
ssh -i C:\Users\ContainerAdministrator\.ssh\id_ed25519 ${{ secrets.SSH_USER }}@vps.sad.ovh `
"find /var/www/sad.ovh -type d -exec chmod 755 {} \; && find /var/www/sad.ovh -type f -exec chmod 644 {} \;"
shell: powershell