mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-01 18:20:26 +00:00
Try without variables
This commit is contained in:
@@ -38,13 +38,11 @@ jobs:
|
|||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
|
name: id_deploy
|
||||||
known_hosts: hazemkrimi.tech
|
known_hosts: hazemkrimi.tech
|
||||||
if_key_exists: ignore
|
if_key_exists: ignore
|
||||||
|
|
||||||
- name: Deploy to VPS
|
- name: Deploy to VPS
|
||||||
env:
|
|
||||||
HOST: hazemkrimi.tech
|
|
||||||
USER: deploy
|
|
||||||
run: |
|
run: |
|
||||||
scp -r client/build $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/public
|
scp -r client/build deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/public
|
||||||
scp server/executable $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/api
|
scp server/executable deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/api
|
||||||
|
|||||||
Reference in New Issue
Block a user