This commit is contained in:
@@ -32,7 +32,5 @@ jobs:
|
||||
echo "$DEPLOY_KEY" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H $DEPLOY_HOST >> ~/.ssh/known_hosts 2>/dev/null
|
||||
|
||||
rsync -avz --delete \
|
||||
dist/ \
|
||||
${DEPLOY_USER}@${DEPLOY_HOST}:/volume1/web/app/
|
||||
ssh ${DEPLOY_USER}@${DEPLOY_HOST} "rm -rf /volume1/web/app/*"
|
||||
scp -r dist/* ${DEPLOY_USER}@${DEPLOY_HOST}:/volume1/web/app/
|
||||
|
||||
Reference in New Issue
Block a user