fix: create remote dir on server
This commit is contained in:
parent
f5f9e8c644
commit
46dd3935a8
@ -59,6 +59,8 @@ jobs:
|
||||
with:
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
- name: Create Remote Directory
|
||||
run: ssh ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }} mkdir -p ${{ vars.DEPLOY_PATH }}
|
||||
- name: Deploy to Local Server
|
||||
run: scp -r artifact/* ${{ vars.DEPLOY_USER }}@${{ vars.DEPLOY_HOST }}:${{ vars.DEPLOY_PATH }}
|
||||
- name: Build and Run Docker Image with Docker Compose
|
||||
|
Loading…
x
Reference in New Issue
Block a user