From 70c93ed046500006e927ec734709661f291b30eb Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 24 Jun 2018 09:45:30 +0200 Subject: [PATCH] Switched from S3 to SCP --- .drone.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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