using sshkey instead of password for deployment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
55675c2d24
commit
2cff91f882
|
|
@ -40,4 +40,4 @@ steps:
|
|||
from_secret: prod_folder_path
|
||||
commands:
|
||||
- cd lhoist-stay-safe
|
||||
- sshpass -p $PROD_SERVER_PASSWORD rsync -avhp -e 'ssh -p 22' ./build/ $PROD_SERVER_PATH:$PROD_FOLDER_PATH --delete
|
||||
- rsync -avhp -e 'ssh -p 22' ./build/ $PROD_SERVER_PATH:$PROD_FOLDER_PATH --delete
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user