capistrano_shopware6 0.2.1 → 0.2.4

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
  SHA256:
3
- metadata.gz: 4ec22b441b1ba227027ec9e020f1f5047a207230eae95399aad369720d8cdc61
4
- data.tar.gz: bb29212e818fc2261f1a3aca65ff83181d9f6fd9f021c79537d12ee465509e03
3
+ metadata.gz: 2fe2b5103f7667c5adde29fc48a148401a7caa943b2602f0e589a32353540ce4
4
+ data.tar.gz: 075dac43b143e5af4e4d74b827b0ed4038937e52a1b3a94dedc057f27db46c99
5
5
  SHA512:
6
- metadata.gz: 50d7649c195a74cf022050afd9487407dca4a6fdcbdb53140a4609a406ef4a89041becd7bac64b8427e195c5e7e35bee66f738ec6d6c7b454eb25f4769b5e5d0
7
- data.tar.gz: 86829ad25ae45bd541a676381d58587ebe951cc9c9aef416efe0fe7f41acdf14c120766e674288273c268c66017f97a0fedb4317c4d1a4746fccca69dd83abc1
6
+ metadata.gz: 2e4bed92d256f7fa725852f7067fef733d6d8cd9fb46bb8fdb936ed4db62dad03cfb0f305d77b894c01a3ddcee95b320a0635b1e11e59b65064db1b78ae27bf0
7
+ data.tar.gz: 1a23d7dbd96fd0ae0a3c0e4caf20b2dc4b542f0aaf5b96cb71f19b9e600535103e42c39246dc0f3de45cd02f0cbfe009aa093835784a2c58f13c175b021791e9
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.authors = ['Giacomo Mirabassi', 'Davide Borgia']
3
3
  s.name = %q{capistrano_shopware6}
4
- s.version = "0.2.1"
5
- s.date = %q{2020-12-09}
4
+ s.version = "0.2.4"
5
+ s.date = %q{2022-06-10}
6
6
  s.summary = %q{Capistrano deploy instructions for Shopware 6}
7
7
  s.require_paths = ["lib"]
8
8
  s.files = `git ls-files`.split($/)
@@ -15,7 +15,7 @@ namespace :composer do
15
15
  task :install do
16
16
  on roles(:app) do
17
17
  within release_path do
18
- execute :composer, :install
18
+ execute :composer, "install --prefer-dist --no-interaction --no-dev --optimize-autoloader"
19
19
  end
20
20
  end
21
21
  end
@@ -31,6 +31,10 @@ namespace :shopware do
31
31
  end
32
32
  end
33
33
 
34
+ task :cache do
35
+ invoke! 'shopware:psh:execute', 'cache'
36
+ end
37
+
34
38
  namespace :storefront do
35
39
  task :build do
36
40
  invoke! 'shopware:psh:execute', 'storefront:install-dependencies'
@@ -64,6 +68,7 @@ namespace :shopware do
64
68
  end
65
69
 
66
70
  task :theme_compile do
71
+ invoke! 'shopware:console:execute', 'theme:refresh'
67
72
  invoke! 'shopware:console:execute', 'theme:compile'
68
73
  end
69
74
 
@@ -103,6 +108,7 @@ namespace :deploy do
103
108
  after :updated, :shopware do
104
109
  invoke 'composer:install'
105
110
  invoke 'shopware:console:maintenance_enable'
111
+ invoke 'shopware:psh:cache' #this is needed to generate the .env file from .psh.yaml
106
112
  invoke 'shopware:console:database_migrate'
107
113
  invoke 'shopware:console:database_migrate_destructive'
108
114
  invoke 'shopware:psh:administration:build'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_shopware6
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giacomo Mirabassi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-09 00:00:00.000000000 Z
12
+ date: 2022-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
- rubygems_version: 3.0.3
63
+ rubygems_version: 3.3.7
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Capistrano deploy instructions for Shopware 6