|
|
@ -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 |