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 +4 -4
- data/lib/afterlife/deploy/cdn_deployment.rb +3 -2
- data/lib/afterlife/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93343bbd5356717804af9a955b10546a438184610540ec7b369e4f2f60877e53
|
4
|
+
data.tar.gz: 2c15bb65c5b9d901e9be8e0697bffcc7d8892145f1bf61150bad66701ea68a9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/afterlife/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|