first migration test on prod server
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7799a4aab8
commit
2f4441d68e
|
|
@ -15,11 +15,17 @@ server:
|
||||||
password:
|
password:
|
||||||
from_secret: build_server_password
|
from_secret: build_server_password
|
||||||
steps:
|
steps:
|
||||||
- name: Deploiement
|
- 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
|
- cd lhoist-stay-safe
|
||||||
|
- name: Installation du package
|
||||||
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
|
- name: Build du package
|
||||||
|
commands:
|
||||||
- npm run build
|
- 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
|
- 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
|
# - rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user