This commit is contained in:
f 2019-10-02 19:40:43 -03:00
parent 69b5f39ba4
commit bbb862abef
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
def build_deploys
Site::DEPLOYS.map { |deploy| "Deploy#{deploy.capitalize}" }
.each do |deploy|
.each do |deploy|
next if site.deploys.find_by type: deploy
site.deploys.build type: deploy

View file

@ -256,7 +256,7 @@ en:
posts: 'View and edit posts'
title: 'Sites'
enqueued: 'Waiting for build'
enqueue: 'Build'
enqueue: 'Publish all changes'
failed: 'Failed!'
build_log: 'Read log'
invitations: