lhoist-stay-safe/.drone.yml
Antoine M 7799a4aab8
All checks were successful
continuous-integration/drone/push Build is passing
first migration test on prod server
2024-09-12 15:06:55 +02:00

26 lines
805 B
YAML

---
kind: pipeline
type: ssh
name: default
clone:
disable: true
# DATAS DU SERVEUR DE BUILD
server:
host:
from_secret: build_server_host
user:
from_secret: build_server_user
password:
from_secret: build_server_password
steps:
- name: Deploiement
commands:
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
- cd lhoist-stay-safe
- npm install
- npm run build
- 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