Files
go-events/.drone.yml
Nathan Coad fb433b9ef2
All checks were successful
continuous-integration/drone/push Build is passing
update
2024-09-16 15:49:27 +10:00

45 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/$
# https://github.com/hypervtechnics/drone-sftp
- name: dell-sftp-deploy
image: hypervtechnics/drone-sftp
settings:
host: deft.dell.com
username:
from_secret: DELLFTP_USER
password:
from_secret: DELLFTP_PASS
port: 22
source: ./
filter: events*
clean: false
target: /
overwrite: true
verbose: true