first migration test on prod server
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
902efce7b8
commit
c41b09b151
15
.drone.yml
15
.drone.yml
|
|
@ -17,16 +17,17 @@ server:
|
|||
steps:
|
||||
- name: Clonage
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
|
||||
- cd lhoist-stay-safe
|
||||
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
|
||||
- name: Installation du package
|
||||
commands:
|
||||
- cd lhoist-stay-safe
|
||||
- npm install
|
||||
- cd lhoist-stay-safe
|
||||
- npm install
|
||||
- name: Build du package
|
||||
commands:
|
||||
- npm run build
|
||||
- cd lhoist-stay-safe
|
||||
- npm run build
|
||||
- name: Déploiement sur le serveur de prod
|
||||
commands:
|
||||
- sshpass -p "xmAgdEUhDhQp" 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
|
||||
- cd lhoist-stay-safe
|
||||
- sshpass -p "xmAgdEUhDhQp" 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