Add digest to theme images to not keep rebuilding them
The digest is based on the colors of theme, so will change when the colors change
This commit is contained in:
1 parent
403a791c94
commit
511718e973
24 files changed
+23
-10
No files matched your search
@@ -9,7 +9,7 @@ class ScreenshotGenerator < ::Middleman::Extension
|
||||
Screenshot.prepare
|
||||
data = YAML.load_file('data/themes.yml')
|
||||
data.each do |theme|
|
||||
Screenshot.new(theme[:name]).generate_theme_image
|
||||
Screenshot.new(theme).generate_theme_image
|
||||
end
|
||||
puts "Hello World"
|
||||
# builder.run './my_deploy_script.sh'
|
||||
|
||||
Reference in new issue
Block a user