first migration test on prod server
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Antoine M 2024-09-12 15:09:50 +02:00
parent 7799a4aab8
commit 2f4441d68e

View File

@ -15,11 +15,17 @@ server:
password:
from_secret: build_server_password
steps:
- name: Deploiement
- name: Clonage
commands:
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
- cd lhoist-stay-safe
- name: Installation du package
commands:
- npm install
- name: Build du package
commands:
- 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