diff --git a/.github/workflows/gempush.yml b/.github/workflows/gempush.yml index cfdff3ac..6a3223fd 100644 --- a/.github/workflows/gempush.yml +++ b/.github/workflows/gempush.yml @@ -1,7 +1,7 @@ name: Ruby Gem on: release: - types: [created] + types: [published] jobs: build: diff --git a/README.md b/README.md index f6b72bf2..8631ec31 100644 --- a/README.md +++ b/README.md @@ -443,7 +443,16 @@ imagekitio.upload_file( file_name: "my_file_name.jpg", # required response_fields: 'isPrivateFile, tags', tags: %w[abc def], - use_unique_file_name: true + use_unique_file_name: true, + transformation: { + pre: 'l-text,i-Imagekit,fs-50,l-end', + post: [ + { + type: 'transformation', + value: 'w-100' + } + ] + } ) ```