Oxfam_Interactive_map/.drone.yml
Antoine M ec44a35539
All checks were successful
continuous-integration/drone/push Build is passing
passing secret variable
2024-07-24 17:17:04 +02:00

25 lines
631 B
YAML

---
kind: pipeline
type: ssh
name: default
clone:
disable: true
server:
host:
from_secret: ssh_host
user:
from_secret: ssh_user
password:
from_secret: ssh_password
steps:
- name: Deploiement
image: node:18
commands:
- git clone https://git.deligraph.be/Antoine/Oxfam_Interactive_map.git
- cd Oxfam_Interactive_map
- npm install
- npm run build
- rsync -avhp ./dist/ /home/deliadmin/oxfam/wordpress --delete