mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-01 18:20:26 +00:00
Update workflow
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user