try to copy contents to the build server

This commit is contained in:
Alya Sirko 2022-08-30 21:54:55 +03:00
parent 9d743d6148
commit 3ffb7e4bfe

View file

@ -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