Deligraph-V3/.drone.yml
Antoine M b3ba24113f
Some checks failed
continuous-integration/drone/push Build is failing
fixing folder name
2025-01-30 10:42:25 +01:00

36 lines
1.2 KiB
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Clonage du Repo
image: alpine
commands:
- git clone https://git.deligraph.be/Antoine/Deligraph-V3
- name: Installation du package
image: alpine
commands:
- cd Deligraph-V3
- npm install
- name: Build du package
image: alpine
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