using sshkey instead of password for deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2024-09-13 13:09:27 +02:00
parent 55675c2d24
commit 2cff91f882

View File

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