railman-deployment 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railman-deployment/version.rb +1 -1
- data/lib/railman/tasks/deployment.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 103e15d0bd212d53860b01c27ddf510cc48239df
|
4
|
+
data.tar.gz: '0896d5d787509f9440d6dd221c45302e81a74221'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7c2a7fe9007f7da73e6f9526e559836ea89112ddd613c05ae0933b74b88494cae34a8f9bee06ad97f380b57f121a2dbbc800a4f734edaab9ab1116d0d2b1f8f
|
7
|
+
data.tar.gz: 608ead58c23bc1d6c4f5038c0e5d2e381b58e017dfe70a869402b9e350540a13e4bf4d97f6a80530d53acd0bde029de5dd610964030115d5028694e5bdb85673
|
@@ -23,7 +23,7 @@ task :setup do
|
|
23
23
|
execute :service, 'nginx restart'
|
24
24
|
execute :certbot, "--nginx -d #{fetch(:domain)}"
|
25
25
|
else
|
26
|
-
execute
|
26
|
+
execute "cp #{fetch(:deploy_to)}/.env.example.production #{fetch(:deploy_to)}/.env"
|
27
27
|
execute "sed -i -e 's/TODO: generate with: rake secret/#{SecureRandom.hex(64)}/g' #{fetch(:deploy_to)}/.env"
|
28
28
|
warn 'TODO: Edit .env and modify your database and smtp settings.'
|
29
29
|
warn 'TODO: Run \'cap ENV setup\' again!'
|