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

30 lines
926 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
- echo "salut"
- 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