Browse Source

Switched from S3 to SCP

1.0
Gisle Aune 6 years ago
parent
commit
70c93ed046
  1. 15
      .drone.yml

15
.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
target: /home/artifacts/store/rpdata/
Loading…
Cancel
Save