Sha256: 83ff7e4bcdc192ddb90cd95a3fd03b042631d25d6989ecbdbd970d6712c64344
Contents?: true
Size: 566 Bytes
Versions: 29
Compression:
Stored size: 566 Bytes
Contents
require 'handsome_fencer/circle_c_i/crypto' module HandsomeFencer module CircleCI class ExposedEnvFilesGenerator < Rails::Generators::Base desc "expose .env files inside .circleci directory" source_root File.expand_path('templates', __dir__) class_option :environment, type: :string, default: 'deploy' def expose_env_files environment = options[:environment] @cipher = HandsomeFencer::CircleCI::Crypto.new(dkfile: environment) @cipher.expose('.circleci', "#{environment}.env.enc") end end end end
Version data entries
29 entries across 29 versions & 1 rubygems