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:
|
steps:
|
||||||
- name: Clonage
|
- name: Clonage
|
||||||
commands:
|
commands:
|
||||||
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
|
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
|
||||||
- cd lhoist-stay-safe
|
|
||||||
- name: Installation du package
|
- name: Installation du package
|
||||||
commands:
|
commands:
|
||||||
- cd lhoist-stay-safe
|
- cd lhoist-stay-safe
|
||||||
- npm install
|
- npm install
|
||||||
- name: Build du package
|
- name: Build du package
|
||||||
commands:
|
commands:
|
||||||
- npm run build
|
- cd lhoist-stay-safe
|
||||||
|
- npm run build
|
||||||
- name: Déploiement sur le serveur de prod
|
- name: Déploiement sur le serveur de prod
|
||||||
commands:
|
commands:
|
||||||
- sshpass -p "xmAgdEUhDhQp" rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
- cd lhoist-stay-safe
|
||||||
# - 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/ 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