Files
go-events/.drone.yml
Nathan Coad ae5ce907c4
Some checks failed
continuous-integration/drone/push Build is failing
debug sftp
2024-04-09 08:46:11 +10:00

46 lines
1.0 KiB
YAML

kind: pipeline
type: docker
name: default
# Docs at https://docs.drone.io/pipeline/exec/overview/
# Also see https://github.com/harness/drone-cli/blob/master/.drone.yml
steps:
- name: build
image: golang
commands:
- sh ./.drone.sh
#- name: dell-deploy
## # https://github.com/cschlosser/drone-ftps/blob/master/README.md
# image: cschlosser/drone-ftps
# environment:
# FTP_USERNAME:
# from_secret: FTP_USERNAME
# FTP_PASSWORD:
# from_secret: FTP_PASSWORD
# PLUGIN_HOSTNAME: ftp.emc.com:21
# PLUGIN_SECURE: false
# PLUGIN_VERIFY: false
# PLUGIN_CHMOD: false
# #PLUGIN_DEBUG: false
# PLUGIN_INCLUDE: ^events$,^events_checksum.txt$
# PLUGIN_EXCLUDE: ^\.git/$
- name: dell-sftp-deploy
image: appleboy/drone-scp
settings:
host:
- ftp.emc.com
username:
from_secret: FTP_USERNAME
password:
from_secret: FTP_PASSWORD
port: 22
command_timeout: 2m
target: /
overwrite: true
debug: true
source:
- events
- events_checksum.txt