railman-deployment 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44173eab0296cc526d6fac09b1db5305219b393b
4
- data.tar.gz: 89d9c5732f94e4c0021e9c68a91466636a9e5f24
3
+ metadata.gz: 103e15d0bd212d53860b01c27ddf510cc48239df
4
+ data.tar.gz: '0896d5d787509f9440d6dd221c45302e81a74221'
5
5
  SHA512:
6
- metadata.gz: 429cb105d1957844fb943ce7507886a504c263abce1eb5281955150ba0e77cea4501e018b053653420398ae07e19924decd4cab617550039f63a440b82d16dd6
7
- data.tar.gz: 67e40e2fbff92ed3b5637b61920e9afba8f0d8093e14e3daf20d9243759dd0b17728c1be7592a88bebd701e8e2d9c6e15a1f4bcdd661af84dc5aec668be54f0c
6
+ metadata.gz: d7c2a7fe9007f7da73e6f9526e559836ea89112ddd613c05ae0933b74b88494cae34a8f9bee06ad97f380b57f121a2dbbc800a4f734edaab9ab1116d0d2b1f8f
7
+ data.tar.gz: 608ead58c23bc1d6c4f5038c0e5d2e381b58e017dfe70a869402b9e350540a13e4bf4d97f6a80530d53acd0bde029de5dd610964030115d5028694e5bdb85673
@@ -1,3 +1,3 @@
1
1
  module RailmanDeployment
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
@@ -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 'cp .env.example.production .env'
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!'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railman-deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev