lhoist-stay-safe/.drone.yml
Antoine M 53e6895d5f
Some checks failed
continuous-integration/drone/push Build is failing
bundling the project on the build server
2024-09-12 12:14:25 +02:00

25 lines
656 B
YAML

---
kind: pipeline
type: ssh
name: default
clone:
disable: true
# SERVER 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
- ls
# - rsync -avhp ./dist/ $PROJECT_SERVER_PATH --delete