Sha256: 4e6dda7d2e9be90663363d5edd3d54c47a50dcdecc2868bf19478079271a42ad

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

# frozen_string_literal: true

require_relative 'figaro_yaml_helper'

namespace :figaro_yml do
  rake_roles = fetch(:rake_roles, :app)

  task :get_stage do
    on roles(rake_roles) do
      puts capture "cat #{shared_path}/config/application.yml"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-ops-0.2.14 lib/capistrano/ops/capistrano/v3/tasks/figaro_yml/get_stage.rake