Deligraph-V3/.drone.yml
2024-09-24 15:38:08 +02:00

29 lines
994 B
YAML

---
kind: pipeline
name: your-pipeline-name
type: docker
steps:
- name: Clone Git Submodules
image: alpine/git
commands:
# - git clone https://git.deligraph.be/Antoine/homegrade_theme_production.git
# - git submodule update --recursive --remote
- touch salut.txt
- 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: ftp://host:21
PLUGIN_SRC_DIR: /hugo/public/
PLUGIN_DEST_DIR: /home/ftp_username
PLUGIN_AUTO_CONFIRM: true
PLUGIN_DEBUG: true
PLUGIN_ONLY_NEWER: true