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