lhoist-stay-safe/.drone.yml
Antoine M 693e40d213
Some checks failed
continuous-integration/drone/push Build is failing
first migration test on prod server
2024-09-12 14:58:28 +02:00

29 lines
890 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
- mkdir build
- ls
# - 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