fix ci bug

This commit is contained in:
Vaala Cat 2023-03-17 23:46:32 +08:00
parent 568832f8d8
commit 4f7e005f53

View File

@ -30,7 +30,7 @@ steps:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan $SSH_TARGET >> ~/.ssh/known_hosts
- ssh $SSH_USERNAME@$SSH_TARGET "mkdir -p /opt/vaala/static/html/$DEPLOY_PATH ;bash rm -rf /opt/vaala/static/html/$DEPLOY_PATH/*"
- ssh $SSH_USERNAME@$SSH_TARGET "mkdir -p /opt/vaala/static/html/$DEPLOY_PATH;bash rm -rf /opt/vaala/static/html/$DEPLOY_PATH/* 2>&1"
- scp -r out/* $SSH_USERNAME@$SSH_TARGET:/opt/vaala/static/html/$DEPLOY_PATH
- curl 'https://push.vaala.cloud/message/push?pushkey=PDU1TvwdaB33frA943WtFNc0EoSGTH0MhL9At&text=VaalaChatFrontDeploySuccess'
when: