Deligraph-V3/.drone.yml
Antoine M ca2ade8af5
Some checks reported errors
continuous-integration/drone/push Build was killed
trying building with node image
2025-01-30 10:47:27 +01:00

36 lines
1.2 KiB
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Clonage du Repo
image: alpine/git
commands:
- git clone https://git.deligraph.be/Antoine/Deligraph-V3
- name: Installation du package
image: node
commands:
- cd Deligraph-V3
- npm install
- name: Build du package
image: node
commands:
- cd Deligraph-V3
- npm run production
- name: Deploy to FTP server
image: cschlosser/drone-ftps
environment:
FTP_USERNAME:
from_secret: ftp_username
FTP_PASSWORD:
from_secret: ftp_password
PLUGIN_SECURE: false
PLUGIN_VERIFY: false
PLUGIN_HOSTNAME: sftp://test.deligraph.com
PLUGIN_SRC_DIR: /
PLUGIN_DEST_DIR: /home/testdeligraph/www/wp-content/themes/Deligraph-v3
PLUGIN_AUTO_CONFIRM: true
PLUGIN_DEBUG: true
PLUGIN_ONLY_NEWER: true