From c1993d63fef37ace2b0bf86d2e62dc9d0878c1b0 Mon Sep 17 00:00:00 2001
From: Joseph Donofry <joedonofry@gmail.com>
Date: Sat, 3 Aug 2019 18:12:27 -0400
Subject: [PATCH] Upload build artifacts to s3 bucket

---
 .travis.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 5b4e6aee5..924600e06 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,6 +80,18 @@ script:
     - sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
     - cp ./.ci/bintray-release.json .
 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
   user: "redsky17"
   key:
-- 
GitLab