afterlife 1.7.0 → 1.7.2
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 +0 -1
- data/lib/afterlife/deploy.rb +2 -0
- 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: acd1912f0524e2efc93ab47e2f43fed17487fc5b05cff9c56f25e275c4501790
|
4
|
+
data.tar.gz: 3f658d550f54904680eb77ab7333bcde9bfeea2b5dbe4f19b634132ac45276e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a14e900ab52e37392e5a2ebe142257a72db3a0c79b47947975f28d1ac3c58f4c6085c22027935c3be4bd2fda9ac38b1464b04a8e7c60bc6ce8c141c723c9e1b8
|
7
|
+
data.tar.gz: 316829b117b8b6f7b98d6582244e9bf269bc7e0ca59608c93dd50e54b1a10b25c0bed5272ab143d8261fb61349b97bdd236317ed41402710c55a68db2da3bbbd
|
@@ -14,7 +14,6 @@ module Afterlife
|
|
14
14
|
def setup
|
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
|
)
|
data/lib/afterlife/deploy.rb
CHANGED
@@ -40,6 +40,8 @@ module Afterlife
|
|
40
40
|
'CURRENT_BRANCH' => Afterlife.current_repo.current_branch,
|
41
41
|
'AFTERLIFE_STAGE' => Afterlife.current_stage.name,
|
42
42
|
)
|
43
|
+
# IN CI we dont need an AWS_PROFILE and setting it causes aws s3 sync to fail
|
44
|
+
Afterlife.current_repo.env.set!('AWS_PROFILE' => Afterlife.current_stage.profile) unless ENV['CI']
|
43
45
|
end
|
44
46
|
end
|
45
47
|
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.2
|
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-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|