fix: deploy.yml ssh command was cut off
This commit is contained in:
@@ -59,7 +59,7 @@ jobs:
|
|||||||
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
||||||
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/deploy_key -o UserKnownHostsFile=~/.ssh/kn
|
ssh -i ~/.ssh/deploy_key -o UserKnownHostsFile=~/.ssh/known_hosts \
|
||||||
"$DEPLOY_USER@$DEPLOY_HOST" \
|
"$DEPLOY_USER@$DEPLOY_HOST" \
|
||||||
"cd $DEPLOY_PATH && git pull && docker compose up -d --build"
|
"cd $DEPLOY_PATH && git pull && docker compose up -d --build"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user