infra: debug - fix user env var
All checks were successful
Deploy eolas-api / deploy (push) Successful in 9s

This commit is contained in:
Thomas Bishop 2025-10-05 20:04:33 +01:00
parent d148424ba3
commit 4324dd603f

View file

@ -14,5 +14,5 @@ jobs:
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_DEPLOY_USER }} "bash -c 'whoami'"
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_DEPLOY_USER }} "bash -c 'cd /var/www/eolas-api && ls'"
# ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_DEPLOY_USER }} "bash -c 'cd /var/www/eolas-api && rm -rf * .[^.]*'"
scp -i /tmp/ssh_key -o StrictHostKeyChecking=no -r ./* ${{ vars.VPS_USER }}:/var/www/eolas-api/
scp -i /tmp/ssh_key -o StrictHostKeyChecking=no -r ./* ${{ vars.VPS_DEPLOY_USER }}:/var/www/eolas-api/
rm /tmp/ssh_key