From 44685d9aa92f28cf6bb3bbcb7b52ff49bec2fc01 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 2 Oct 2022 15:52:11 +0200 Subject: [PATCH] fix ci. --- .drone.yml | 2 +- serverless.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 24327bd..255534a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -114,4 +114,4 @@ steps: from_secret: S3_WEBUI_BUCKET commands: - cd frontend/build - - aws s3 sync . s3://$S3_WEBUI_BUCKET + - aws s3 sync --delete . s3://$S3_WEBUI_BUCKET diff --git a/serverless.yml b/serverless.yml index 388e92f..0091a7f 100644 --- a/serverless.yml +++ b/serverless.yml @@ -15,6 +15,10 @@ provider: apiGateway: shouldStartNameWithService: true minimumCompressionSize: 2048 + binaryMediaTypes: + - 'image/jpeg' + - 'image/jpg' + - 'image/png' versionFunctions: false environment: STUFFLOG3_AWS_CLIENT_ID: ${env:STUFFLOG3_AWS_CLIENT_ID}