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

34 lines
1.0 KiB
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
environment:
PROD_SERVER_PATH:
from_secret: prod_server_path
PROD_FOLDER_PATH:
from_secret: prod_folder_path
commands:
# - git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
# - cd lhoist-stay-safe
# - npm install
# - npm run build
- echo $PROD_SERVER_PATH
- echo $PROD_FOLDER_PATH
- mkdir build
- ls
- rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete