From 9702612fd521e13d8dc4d8f86acb49d0becc7b72 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Sep 2023 13:20:14 +0200 Subject: [PATCH] Added s3 region settings and changed destination bucket. --- .drone.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a7cd14a9d0..88b0947dce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -250,9 +250,12 @@ steps: WORKDIR: /tmp/workdir STABLE_PKG_NAME: platypush GIT_PKG_NAME: platypush-git - AWS_ENDPOINT_URL: https://s3.nl-ams.scw.cloud - AWS_ACCESS_KEY_ID: aws_access_key_id - AWS_SECRET_ACCESS_KEY: aws_secret_access_key + AWS_ENDPOINT_URL: https://s3.nl-ams.scw.cloud + AWS_DEFAULT_REGION: nl-ams + AWS_ACCESS_KEY_ID: + from_secret: aws_access_key_id + AWS_SECRET_ACCESS_KEY: + from_secret: aws_secret_access_key when: branch: @@ -294,7 +297,7 @@ steps: Description: Universal command executor and automation hub. EOF - dpkg --build "$GIT_BUILD_DIR" - - aws s3 cp "$GIT_DEB" s3://platypush-static/deb/git/ + - aws s3 cp "$GIT_DEB" s3://platypush-pkg/apt/git/ - name: update-pip-package image: python:3.11-alpine