Try without variables

This commit is contained in:
2025-04-10 17:28:50 +01:00
parent 1a82edbed5
commit 6fc130eb4e
+3 -5
View File
@@ -38,13 +38,11 @@ jobs:
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.DEPLOY_SSH_KEY }}
name: id_deploy
known_hosts: hazemkrimi.tech
if_key_exists: ignore
- name: Deploy to VPS
env:
HOST: hazemkrimi.tech
USER: deploy
run: |
scp -r client/build $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/public
scp server/executable $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/api
scp -r client/build deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/public
scp server/executable deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/api