mirror of
https://github.com/neocities/neocities.git
synced 2025-07-23 11:06:02 +02:00
Merge branch 'github-actions' of https://github.com/talklittle/neocities into talklittle-github-actions
This commit is contained in:
commit
e1416fd40f
8 changed files with 49 additions and 19 deletions
|
@ -24,8 +24,8 @@ end
|
|||
Dir['./ext/**/*.rb'].each {|f| require f}
|
||||
|
||||
# :nocov:
|
||||
if ENV['TRAVIS']
|
||||
$config = YAML.load_file File.join(DIR_ROOT, 'config.yml.travis')
|
||||
if ENV['CI']
|
||||
$config = YAML.load_file File.join(DIR_ROOT, 'config.yml.ci')
|
||||
else
|
||||
begin
|
||||
$config = YAML.load_file(File.join(DIR_ROOT, 'config.yml'))[ENV['RACK_ENV']]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue