Method: CIRunner::Configuration::Project#config_file

Defined in:
lib/ci_runner/configuration/project.rb

#config_filePathname

Returns The path of the configuration file.

Examples:

puts Project.instance.config_file # => project/.github/ci_runner.yml

Returns:

  • (Pathname)

    The path of the configuration file.



228
229
230
# File 'lib/ci_runner/configuration/project.rb', line 228

def config_file
  Pathname(File.expand_path(CONFIG_PATH, Dir.pwd))
end