Commit 728c663b authored by Thomas Boni's avatar Thomas Boni
Browse files

fix(s3_sync): fix case when environment is set

parent 5eaea82b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@

All notable changes to this job will be documented in this file.

## [0.1.1] - 2022-07-05
* Fix the addition of environment name in bucket name

## [0.1.0] - 2022-07-05
* Initial version
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ s3_sync:
      S3_OPTIONS="--region ${S3_REGION} ${S3_OPTIONS}"
      if [ -z ${CI_ENVIRONMENT_SLUG} ]; then
        S3_ENV="production"
      else
        S3_ENV="${CI_ENVIRONMENT_SLUG}"
      fi
      S3_BUCKET_NAME="${S3_BUCKET_NAME}-${S3_ENV}"