Update workflow

This commit is contained in:
2025-04-10 17:05:04 +01:00
parent 30539739e6
commit 0442939f76
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install Node.js - name: Setup Node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: 18 node-version: 18
@@ -44,6 +44,6 @@ jobs:
HOST: hazemkrimi.tech HOST: hazemkrimi.tech
USER: deploy USER: deploy
run: | run: |
ssh-keyscan -H hazemkrimi.tech > ~/.ssh/known_hosts ssh-keyscan -H $HOST > ~/.ssh/known_hosts
scp -r client/build $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/public 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 server/executable $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/api