afterlife 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ffc976585b365c8ca8aef05a6a29cda8a17a75e23e11b5c63bbaf87b642dadd
4
- data.tar.gz: caffb4ab8840d0b4e9ab421aa002479e3a425627c6ed75f0db283bd96bc6a3ea
3
+ metadata.gz: 93343bbd5356717804af9a955b10546a438184610540ec7b369e4f2f60877e53
4
+ data.tar.gz: 2c15bb65c5b9d901e9be8e0697bffcc7d8892145f1bf61150bad66701ea68a9c
5
5
  SHA512:
6
- metadata.gz: 7867557a8d55c92e4ff347761f6f0b2df9dc7ee563de9d334b8fe2652cc33b36058cfe4b179292ad9c649700c7012935fc360bbdc31d418ba7366b0ff9805944
7
- data.tar.gz: c58bd6f13ae95e3a7b612458a49db8da74a4736779621c0458424d0f1f96793a54f4c6c6114558c6999557cd8d0fbf318ce175249f2dbc5f3db4eefa50871bb2
6
+ metadata.gz: 493574dee7d741117ee555c34e49779d550895607bf05e41f678c22a59dabd6a51214b317c3a9e39347fb5e37ef663ab5755e225f63de7d90ba6dbd0db8d4aa0
7
+ data.tar.gz: b1f8c99175ecf36c13785cfa8e59cbe4541d726dfc3dde667cbb80fbda8db8a1adf530f4f1ce3d1f11a55cd32e4a14643d493f3dcefcdcb92eebdf46b08f4c4c
@@ -11,13 +11,14 @@ module Afterlife
11
11
  Cdn.url(repo)
12
12
  end
13
13
 
14
- def setup
14
+ def setup # rubocop:disable Mitrics/AbcSize
15
15
  # only use the defined AWS_PROFILE if its not already been defined
16
16
  repo.env.set(
17
- 'AWS_PROFILE' => Afterlife.current_stage.profile,
18
17
  'AWS_BUCKET' => Afterlife.current_stage.bucket,
19
18
  'AWS_REGION' => Afterlife.current_stage.region,
20
19
  )
20
+ # IN CI we dont need an AWS_PROFILE and setting it causes aws s3 sync to fail
21
+ repo.env.set('AWS_PROFILE' => Afterlife.current_stage.profile) unless ENV['CI']
21
22
  # in nested deployments we need the current path, not the parent's
22
23
  repo.env.set!('S3_FULL_PATH' => s3_full_path)
23
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Afterlife
4
- VERSION = '1.7.0'
4
+ VERSION = '1.7.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afterlife
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genaro Madrid
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor