Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/website/deployer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def content_type(f)
CACHE_CONTROL = "public, max-age=60, s-maxage=60, stale-while-revalidate=60,"\
" stale-if-error=60"

def upload(domain, force_deploy: false)
output_dir = render
def upload(domain, force_deploy: false, output_dir: nil)
output_dir ||= render
s3 = Aws::S3::Resource.new
bucket = s3.bucket(domain)
objects = bucket.objects
Expand Down
Loading