Update .drone.yml: Change deployment path from /var/www to /home
Some checks failed
continuous-integration/drone/push Build was killed
Some checks failed
continuous-integration/drone/push Build was killed
This commit is contained in:
@@ -24,7 +24,7 @@ steps:
|
||||
- |
|
||||
rsync -avz --delete \
|
||||
-e "ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa" \
|
||||
./ $SSH_USERNAME@$SSH_HOSTNAME:/var/www/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME} \
|
||||
./ $SSH_USERNAME@$SSH_HOSTNAME:/home/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME} \
|
||||
--exclude .git \
|
||||
--exclude node_modules \
|
||||
--exclude .drone.yml
|
||||
|
||||
Reference in New Issue
Block a user