diff --git a/.drone.yml b/.drone.yml index 200a0346..41e9742f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,8 @@ steps: commands: - eval `ssh-agent -s` - echo "$SSH_PRIVATE_KEY" | ssh-add - - - scp -r `pwd`/. isolated:/var/lib/builder/ - - ssh isolated flutter doctor + - scp -r `pwd` isolated:/var/lib/builder/ + - ssh isolated cd "$DRONE_REPO" && flutter doctor environment: SSH_PRIVATE_KEY: from_secret: SSH_PRIVATE_KEY