Files
vctp2/.drone.yml
Nathan Coad 0d2f983eb3
Some checks failed
CI / Lint (push) Waiting to run
CI / Test (push) Waiting to run
CI / End-to-End (push) Waiting to run
CI / Publish Docker (push) Blocked by required conditions
continuous-integration/drone/push Build is failing
update
2024-09-12 12:47:10 +10:00

42 lines
773 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
environment:
CGO_ENABLED: 0
GOMODCACHE: '/drone/src/pkg.mod'
GOCACHE: '/drone/src/pkg.build'
volumes:
- name: shared
path: /shared
commands:
#- cp /shared/index.html ./www/
- go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
- sqlc generate
- ./.drone.sh
- 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: ./build
filter: vctp*
clean: false
target: /
overwrite: true
verbose: true
volumes:
- name: shared
temp: {}
#- name: cache
# host:
# path: /var/lib/cache