Browse Source

Maybe fixed s3 deploy?

1.0
Gisle Aune 7 years ago
parent
commit
522a1cfe07
  1. 6
      .drone.yml

6
.drone.yml

@ -19,14 +19,12 @@ pipeline:
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-wikifileimport ./cmd/rpdata-wikifileimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-ensurechannels ./cmd/rpdata-ensurechannels
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport
publish:
s3:
image: plugins/s3
bucket: aiterp
source: /output/*
target: /build/rpdata/
endpoint: https://ams3.digitaloceanspaces.com
secret_key: $SPACE_SECRET_KEY
access_key: $SPACE_ACCESS_KEY
secret_key: $${$space_secret_key}
access_key: $${$space_access_key}
acl: public-read
Loading…
Cancel
Save