Upload build artifacts to s3 bucket

This commit is contained in:
Joseph Donofry 2019-08-03 18:12:27 -04:00
parent e85bd4a54b
commit c1993d63fe
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -80,6 +80,18 @@ script:
- sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true - sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
- cp ./.ci/bintray-release.json . - cp ./.ci/bintray-release.json .
deploy: deploy:
- provider: s3
access_key_id: $ARTIFACTS_KEY
secret_access_key: $ARTIFACTS_SECRET
bucket: $ARTIFACTS_BUCKET
region: $AWS_DEFAULT_REGION
detect_encoding: true
cache_control: "max-age=31536000"
skip_cleanup: true
file_glob: true
file:
- nheko-${VERSION}-x86_64.AppImage
- nheko-${VERSION}.dmg
- provider: bintray - provider: bintray
user: "redsky17" user: "redsky17"
key: key: