handling secret dynamic variables
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
ee36ed57d1
commit
f75dce6135
|
|
@ -27,7 +27,12 @@ steps:
|
||||||
- cd lhoist-stay-safe
|
- cd lhoist-stay-safe
|
||||||
- npm run build
|
- npm run build
|
||||||
- name: Déploiement sur le serveur de prod
|
- name: Déploiement sur le serveur de prod
|
||||||
|
environment:
|
||||||
|
PROD_SERVER_PATH:
|
||||||
|
from_secret: prod_server_path
|
||||||
|
PROD_FOLDER_PATH:
|
||||||
|
from_secret: prod_folder_path
|
||||||
commands:
|
commands:
|
||||||
- cd lhoist-stay-safe
|
- cd lhoist-stay-safe
|
||||||
- sshpass -p "xmAgdEUhDhQp" rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
- sshpass -p "xmAgdEUhDhQp" rsync -avhp -e 'ssh -p 22' ./build/ $PROD_SERVER_PATH:$PROD_FOLDER_PATH --delete
|
||||||
# - rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
# - rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user