diff --git a/.drone.yml b/.drone.yml index 9bd3383..b7ea469 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,13 +19,10 @@ pipeline: - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-wikifileimport ./cmd/rpdata-wikifileimport - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-ensurechannels ./cmd/rpdata-ensurechannels - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport - s3: - image: plugins/s3 - bucket: aiterp - region: ams3 + scp: + image: appleboy/scp + ssh_username: artifacts + ssh_key: $$ssh_key + host: example.com source: /go/output/* - target: /build/rpdata/ - endpoint: https://ams3.digitaloceanspaces.com - access_key: $$space_access_key - secret_key: $$space_secret_key - acl: public-read \ No newline at end of file + target: /home/artifacts/store/rpdata/ \ No newline at end of file